class DB::TopLevelTransaction

Defined in:

db/transaction.cr

Constructors

Instance Method Summary

Instance methods inherited from class DB::Transaction

commit commit, connection : Connection connection, release_from_nested_transaction release_from_nested_transaction, rollback rollback

Instance methods inherited from module DB::BeginTransaction

begin_transaction : Transaction begin_transaction, transaction(&block) transaction

Instance methods inherited from module DB::Disposable

close close, closed? closed?

Constructor Detail

def self.new(connection : Connection) #

[View source]

Instance Method Detail

def begin_transaction : Transaction #

[View source]
def commit #

[View source]
def connection : DB::Connection #

[View source]
def rollback #

[View source]