Expand description
Executor, backend and transaction traits implemented by database adapters.
Application code does not use these traits directly; it goes through the
Db handle, which wraps either a backend (pool) or an open
transaction behind the same API.
Structs§
- Exec
Result - Result of executing a write plan.
- Query
Result - Result of executing a read plan.
- Row
- One decoded result row: column names paired with backend-neutral values.
Traits§
- Backend
- A connection pool that can open transactions.
- Executor
- Runs plans and raw statements on a pool or inside a transaction.
- Transaction
- An open transaction.