class Focus::TransactionManager
- Focus::TransactionManager
- Reference
- Object
Overview
As long as I limit usage to block forms I can lean on crystal-db's connection and transaction handling
Defined in:
focus/transaction_manager.crConstructors
Instance Method Summary
- #with_connection(&block : DB::Connection -> T) : T forall T
- #with_transaction(&block : DB::Transaction -> T) : T | Nil forall T