expire

expire() Instance Public methods

extensions

extensions() Instance Public methods A list of extensions, to be filled in by adapters that support them. At the moment only postgresql does.

index_algorithms

index_algorithms() Instance Public methods A list of index algorithms, to be filled by adapters that support them. MySQL and PostgreSQL have support for them right now.

lease

lease() Instance Public methods

open_transactions

open_transactions() Instance Public methods

prefetch_primary_key?

prefetch_primary_key?(table_name = nil) Instance Public methods Should primary key values be selected from their corresponding sequence before the insert statement? If true, next_sequence_value is called before each insert to set the record's primary key. This is false for all adapters but Firebird.

raw_connection

raw_connection() Instance Public methods Provides access to the underlying database driver for this adapter. For example, this method returns a Mysql object in case of MysqlAdapter, and a PGconn object in case of PostgreSQLAdapter. This is useful for when you need to call a proprietary method such as PostgreSQL's lo_* methods.

reconnect!

reconnect!() Instance Public methods Disconnects from the database if already connected, and establishes a new connection with the database. Implementors should call super if they override the default implementation.

release_savepoint

release_savepoint(name = nil) Instance Public methods

requires_reloading?

requires_reloading?() Instance Public methods Returns true if its required to reload the connection between requests for development mode. This is not the case for Ruby/MySQL and it's not necessary for any adapters except SQLite.