class

Mimer::Connection

Inherits DB::Connection < DB::BeginTransaction < DB::SessionMethods < DB::QueryMethods < DB::Disposable < Reference < Object

Constructors

new(uri : URI, options : DB::Connection::Options)
Source

Instance methods

after_release

Commit any implicit read transaction when connection is returned to the pool. This prevents lingering read transactions from blocking subsequent DDL on the same table.

Source
build_prepared_statement(query) : DB::Statement

:nodoc:

Source
build_unprepared_statement(query) : DB::Statement

:nodoc:

Source
perform_begin_transaction

Override transaction hooks to use Mimer C API instead of SQL BEGIN/COMMIT/ROLLBACK

Source
perform_commit_transaction

:nodoc:

Source
perform_rollback_transaction

:nodoc:

Source
ping
Source
session
Source