| In: |
lib/active_record/connection_adapters/abstract_adapter.rb
|
| Parent: | Object |
# File lib/active_record/connection_adapters/abstract_adapter.rb, line 10
10: def initialize(connection, logger = nil)
11: @connection, @logger = connection, logger
12: @runtime = 0
13: end
Must return an array of row hashes with the column names as a keys and row fields as values.
# File lib/active_record/connection_adapters/abstract_adapter.rb, line 16
16: def select_all(sql, name = nil) end
Must return a hash with the column names as a keys and row fields as values.
# File lib/active_record/connection_adapters/abstract_adapter.rb, line 19
19: def select_one(sql, name = nil) end
Must return an array of column names for the table specified by table_name.
# File lib/active_record/connection_adapters/abstract_adapter.rb, line 22
22: def columns(table_name, name = nil) end
Must return the last auto-generated ID from the affected table.
# File lib/active_record/connection_adapters/abstract_adapter.rb, line 25
25: def insert(sql, name = nil) end
# File lib/active_record/connection_adapters/abstract_adapter.rb, line 27
27: def update(sql, name = nil) end