Class | ActiveRecord::ConnectionAdapters::AbstractAdapter |
In: |
lib/active_record/connection_adapters/abstract_adapter.rb
|
Parent: | Object |
All the concrete database adapters follow the interface laid down in this class. You can use this interface directly by borrowing the database connection from the Base with Base.connection.
Returns the human-readable name of the adapter. Use mixed case - one can always use downcase if needed.
Rolls back the transaction (and turns on auto-committing). Must be done if the transaction block raises an exception or returns false.
Returns a string of the CREATE TABLE SQL statements for recreating the entire structure of the database.