APIdock / Ruby on Rails
/
Browse About
class

ActiveRecord::ConnectionAdapters::SQLiteAdapter

v2.1.0 - Show latest stable - Superclass: AbstractAdapter

The SQLite adapter works with both the 2.x and 3.x series of SQLite with the sqlite-ruby drivers (available both as gems and from http://rubyforge.org/projects/sqlite-ruby/).

Options:

  • :database - Path to the database file.

Files

  • activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb

Related methods

  • Instance methods
  • adapter_name
  • add_column
  • add_lock!
  • begin_db_transaction
  • change_column
  • change_column_default
  • columns
  • commit_db_transaction
  • delete_sql
  • disconnect!
  • empty_insert_statement
  • execute
  • indexes
  • insert_sql
  • native_database_types
  • primary_key
  • quote_column_name
  • quote_string
  • remove_column
  • remove_columns
  • remove_index
  • rename_column
  • rename_table
  • requires_reloading?
  • rollback_db_transaction
  • select_rows
  • supports_autoincrement?
  • supports_count_distinct?
  • supports_migrations?
  • tables
  • update_sql
  • Protected methods
  • protectedalter_table
  • protectedcatch_schema_changes
  • protectedcopy_table
  • protectedcopy_table_contents
  • protectedcopy_table_indexes
  • protecteddefault_primary_key_type
  • protectedmove_table
  • protectedselect
  • protectedsqlite_version
  • protectedtable_structure
APIdock API Documentation Browser

© 2026 APIdock