Expand description
Saddle-managed MySQL/MariaDB access and single-source transactions.
Applications receive this capability from Saddle. They do not create a pool, acquire a connection, or manage a sqlx transaction directly.
Structs§
- Call
Context - The minimum identity propagated through Service, DB and Observability in V1.
- Database
- The process-wide managed database capability.
- Database
Config - Configuration for the single V1 MySQL/MariaDB data source.
- DbRow
- A database row that exposes stable typed access without exposing sqlx.
- Saddle
Error - An error safe to propagate across Saddle component boundaries.
- 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_
INBOUND_ PACKET_ BYTES - Maximum MySQL protocol packet accepted by the V1 deployment contract.
- 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