Skip to main content

Module pool

Module pool 

Source
Expand description

Database connection pooling and initialization.

Functions§

create_pool
Creates a connection pool for the database.
create_pool_with_configs
Creates a connection pool with explicit database-specific tuning.
create_pool_with_schema
Creates a connection pool and initializes the database schema.
create_pool_with_schema_and_configs
Creates a connection pool with explicit database-specific tuning and initializes the database schema.
create_pool_with_schema_and_sqlite_config
Creates a connection pool with explicit SQLite tuning and initializes the database schema.
create_pool_with_sqlite_config
Creates a connection pool for the database with explicit SQLite tuning.

Type Aliases§

DbPool
Generic database pool type supporting SQLite, PostgreSQL, and MySQL.
DbResult
Convenience type alias for database operation results.
DbTransaction
Database transaction type for multi-statement operations.