class SQLite3Adapter
Ruby on Rails 6.0.6
Since v4.0.13The SQLite3 adapter works SQLite 3.6.16 or newer with the sqlite3-ruby drivers (available as gem from rubygems.org/gems/sqlite3).
Options:
-
:database- Path to the database file.
Inherits from
Includes
Constants
Methods (defined here)
- # active?
- # allowed_index_name_length
- # disconnect!
- # encoding
- # explain
- # foreign_keys
- # reconnect!
- # rename_table
- # requires_reloading?
- # supports_common_table_expressions?
- # supports_datetime_with_precision?
- # supports_ddl_transactions?
- # supports_explain?
- # supports_expression_index?
- # supports_foreign_keys?
- # supports_index_sort_order?
- # supports_insert_conflict_target?
- # supports_insert_on_conflict?
- # supports_insert_on_duplicate_skip?
- # supports_insert_on_duplicate_update?
- # supports_json?
- # supports_lazy_transactions?
- # supports_partial_index?
- # supports_savepoints?
- # supports_views?
- self. database_exists?
- self. new
Private methods
(16)
Implementation detail — not part of the public API.
- # alter_table
- # arel_visitor
- # bind_params_length
- # build_statement_pool
- # column_definitions
- # configure_connection
- # connect
- # copy_table
- # copy_table_contents
- # copy_table_indexes
- # initialize_type_map
- # invalid_alter_table_type?
- # move_table
- # table_structure
- # table_structure_with_collation
- # translate_exception
Methods (inherited)
From ActiveRecord::ConnectionAdapters::AbstractAdapter (59)
- # active?
- # adapter_name
- # clear_cache!
- # close
- # disable_extension
- # disable_referential_integrity
- # discard!
- # disconnect!
- # enable_extension
- # expire
- # extensions
- # index_algorithms
- # lease
- # prefetch_primary_key?
- # prepared_statements
- # preventing_writes?
- # raw_connection
- # reconnect!
- # replica?
- # requires_reloading?
- # reset!
- # schema_cache
- # schema_cache=
- # supports_advisory_locks?
- # supports_bulk_alter?
- # supports_comments?
- # supports_comments_in_create?
- # supports_common_table_expressions?
- # supports_datetime_with_precision?
- # supports_ddl_transactions?
- # supports_explain?
- # supports_expression_index?
- # supports_extensions?
- # supports_foreign_keys?
- # supports_foreign_keys_in_create?
- # supports_foreign_tables?
- # supports_index_sort_order?
- # supports_indexes_in_create?
- # supports_insert_conflict_target?
- # supports_insert_on_duplicate_skip?
- # supports_insert_on_duplicate_update?
- # supports_insert_returning?
- # supports_json?
- # supports_lazy_transactions?
- # supports_materialized_views?
- # supports_multi_insert?
- # supports_optimizer_hints?
- # supports_partial_index?
- # supports_partitioned_indexes?
- # supports_savepoints?
- # supports_transaction_isolation?
- # supports_validate_constraints?
- # supports_views?
- # supports_virtual_columns?
- # unprepared_statement
- # verify!
- self. database_exists?
- self. type_cast_config_to_boolean
- self. type_cast_config_to_integer
From ActiveRecord::ConnectionAdapters::SQLite3::DatabaseStatements (3)
- # exec_delete
- # exec_query
- # exec_update
From ActiveRecord::ConnectionAdapters::QueryCache (8)
- # cache
- # clear_query_cache
- # disable_query_cache!
- # enable_query_cache!
- # select_all
- # uncached
- self. dirties_query_cache
- self. new
From ActiveSupport::Callbacks (1)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
From ActiveRecord::TestFixtures (4)
From ActiveSupport::Concern (2)
From ActiveSupport::DescendantsTracker (7)
- # descendants
- # direct_descendants
- # inherited
- self. clear
- self. descendants
- self. direct_descendants
- self. store_inherited