Skip to main content

Module backend

Module backend 

Source
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§

ExecResult
Result of executing a write plan.
QueryResult
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.