Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Inherits:
-
SQLiteAdapter
- Object
- AbstractAdapter
- SQLiteAdapter
- ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Defined in:
- lib/active_record/connection_adapters/sqlite_adapter.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from SQLiteAdapter
#adapter_name, #add_column, #add_lock!, #begin_db_transaction, #change_column, #change_column_default, #columns, #commit_db_transaction, #delete, #execute, #indexes, #insert, #native_database_types, #primary_key, #quote_column_name, #quote_string, #remove_column, #remove_index, #rename_column, #rename_table, #requires_reloading?, #rollback_db_transaction, #select_all, #select_one, #supports_count_distinct?, #supports_migrations?, #tables, #update
Methods inherited from AbstractAdapter
Instance Method Details
#table_structure(table_name) ⇒ Object
358 359 360 361 362 |
# File 'lib/active_record/connection_adapters/sqlite_adapter.rb', line 358 def table_structure(table_name) returning structure = @connection.table_info(table_name) do raise ActiveRecord::StatementInvalid if structure.empty? end end |