Expand description
Database connection pool wrapper.
DatabaseClient is an enum that wraps either a PostgreSQL or SQLite
connection pool (via sqlx). It provides auto-detection from the connection
URL and exposes typed fetch_all, fetch_optional, fetch_one, and
execute helpers used by the generated query builders.
PoolConfig allows fine-grained control over the underlying connection
pool (max/min connections, timeouts, etc.).
Structs§
- Pool
Config - Configuration options for the database connection pool.
Enums§
- Database
Client - The database client, wrapping an sqlx connection pool.