Expand description
Handle execution of database operations and transactions.
Modules§
- hooks
- Commit hooks for executing custom logic before and after transaction commits.
Structs§
- DbOp
- Default return type of the derived EsRepo::begin_op().
- DbOp
With Time - Equivileant of
DbOpjust that the time is guaranteed to be cached. - Hook
Slot - Where a released
SavepointOp’s staged commit hooks fold into. - OpWith
Time - Wrapper that guarantees time is available, borrowing the underlying operation.
- Savepoint
Op - An
AtomicOperationscoped to a databaseSAVEPOINTinside a parentDbOpor anotherSavepointOp.
Traits§
- Atomic
Operation - Trait to signify we can make multiple consistent database roundtrips.
- Atomic
Operation With Time - Savepoint
Operation - Savepoints for every
AtomicOperation, derived rather than hand-written. - Wraps
Operation - Derives the whole of
AtomicOperationfor a type that wraps another operation, by delegation.