class Marten::DB::Transaction
- Marten::DB::Transaction
- Reference
- Object
Overview
Wraps a DB transaction and allows to bind commit and rollback observers to it.
Defined in:
marten/db/transaction.crConstructors
Instance Method Summary
- #connection(*args, **options)
- #connection(*args, **options, &)
- #notify_observers : Nil
- #observe_commit(block)
- #observe_rollback(block)
- #rolled_back=(rolled_back : Bool)
- #rolled_back? : Bool