Skip to main content

Module pool

Module pool 

Source

Functions§

connect_pool
Connects a SQLx pool for the default enabled adapter.
connect_sqlite_pool
Connects a SQLite SQLx pool.
health_check
Runs a lightweight health check on the default pool type.
health_check_with_metrics
Runs a lightweight health check and records SQL metrics.

Type Aliases§

DatabasePool
Database pool used by the enabled default adapter.
SqliteDatabasePool
SQLite database pool.