Expand description
Business-facing managed database capability.
Pool construction and shutdown are intentionally not exposed here. The facade creates exactly one underlying pool and injects this capability into Service implementations.
Structs§
- Database
- Cloneable handle to Saddle’s single process-wide database pool.
- DbRow
- A database row that exposes stable typed access without exposing sqlx.
- Statement
- A parameterized SQL statement and its operation name.
- Transaction
- A single-level managed transaction.
- Write
Result - Stable write metadata returned by insert, update and delete operations.
Enums§
- DbValue
- A scalar parameter accepted by the controlled V1 database API.
Constants§
- MAX_
FIELD_ BYTES - Maximum supported decoded field size. The stricter driver allocation bound
is enforced by
MAX_INBOUND_PACKET_BYTESduring pool startup. - MAX_
PARAMETERS - MAX_
PARAMETERS_ TOTAL_ BYTES - MAX_
PARAMETER_ BYTES - MAX_
QUERY_ ROWS - MAX_
RESULT_ BYTES - Maximum decoded payload retained by one multi-row result.
- MAX_
SQL_ BYTES