class
Movie::Persistence::ProjectionTransaction
- Movie::Persistence::ProjectionTransaction
- Reference
- Object
Overview
SQL transaction exposed to a projection handler. Statements use portable
? placeholders; the owning backend rewrites them for its SQL dialect.
Defined in:
movie/persistence/protocol.crConstructors
Instance Method Summary
- #exec(sql : String, args : DbArgs = [] of DB::Any) : DB::ExecResult
- #query_one?(sql : String, as type : T.class, args : DbArgs = [] of DB::Any) : T | Nil forall T