Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter

Inherits:
JdbcAdapter
  • Object
show all
Includes:
ArJdbc::SQLite3
Defined in:
lib/arjdbc/sqlite3/adapter.rb

Instance Attribute Summary

Attributes inherited from JdbcAdapter

#config

Instance Method Summary collapse

Methods included from ArJdbc::SQLite3

#_execute, #adapter_name, #add_column, #add_lock!, #arel2_visitors, #change_column, #change_column_default, #change_column_null, column_selector, #empty_insert_statement_value, #indexes, #insert_sql, #jdbc_columns, jdbc_connection_class, #last_insert_id, #modify_types, #primary_key, #quote_column_name, #quote_string, #quoted_date, #quoted_false, #quoted_true, #recreate_database, #remove_column, #remove_index!, #rename_column, #rename_table, #select, #sqlite_version, #supports_add_column?, #supports_autoincrement?, #supports_count_distinct?, #supports_ddl_transactions?, #table_structure, #tables, #valid_alter_table_options

Methods included from ArJdbc::MissingFunctionalityHelper

#alter_table, #copy_table, #copy_table_contents, #copy_table_indexes, #move_table

Methods inherited from JdbcAdapter

#_execute, #active?, #adapter_name, #arel2_visitors, #begin_db_transaction, #commit_db_transaction, #configure_arel2_visitors, #database_name, #disconnect!, #exec_delete, #exec_insert, #exec_query, #exec_update, #execute, #indexes, #initialize, #insert_sql, #is_a?, #jdbc_columns, #jdbc_connection, #jdbc_insert, #jdbc_select_all, #jdbc_update, #modify_types, #native_database_types, #native_sql_to_type, #pk_and_sequence_for, #primary_key, #primary_keys, #reconnect!, #rollback_db_transaction, #select, #select_one, #select_rows, #substitute_binds, #supports_migrations?, #table_exists?, #tables, #write_large_object

Methods included from ShadowCoreMethods

#alias_chained_method

Methods included from JdbcConnectionPoolCallbacks

included, needed?, #on_checkin, #on_checkout

Methods included from CompatibilityMethods

needed?, #quote_table_name

Constructor Details

This class inherits a constructor from ActiveRecord::ConnectionAdapters::JdbcAdapter

Instance Method Details

#adapter_spec(config) ⇒ Object



358
359
360
# File 'lib/arjdbc/sqlite3/adapter.rb', line 358

def adapter_spec(config)
  # return nil to avoid extending ArJdbc::SQLite3, which we've already done
end

#jdbc_column_classObject



366
367
368
# File 'lib/arjdbc/sqlite3/adapter.rb', line 366

def jdbc_column_class
  ActiveRecord::ConnectionAdapters::SQLite3Column
end

#jdbc_connection_class(spec) ⇒ Object



362
363
364
# File 'lib/arjdbc/sqlite3/adapter.rb', line 362

def jdbc_connection_class(spec)
  ::ArJdbc::SQLite3.jdbc_connection_class
end