Module database

Module database 

Source
Expand description

Database Integration - Service providers for database connectivity

Provides service providers for database connection pooling and ORM integration with the DI container system using database abstractions.

Structs§

DatabaseServiceProvider
Database service provider for connection pool
ExtendedPoolStats
Extended pool statistics with additional metrics
ManagedPool
Managed connection pool wrapper with statistics and health monitoring
PoolHealthReport
Detailed pool health report
PoolRegistry
Database pool registry for DI container integration

Enums§

PoolError
Database connection pool error types

Functions§

create_custom_pool_registry
Create a pool registry with custom configuration
create_database_pool
Helper function to create a database pool directly with default configuration
create_database_pool_with_config
Helper function to create a database pool with custom configuration
create_default_pool_registry
Create a pool registry with a default database pool
get_database_pool
Helper function to get database pool from container (for future implementation)
get_named_database_pool
Helper function to get custom named database pool from container (for future implementation)

Type Aliases§

DatabasePool
Type alias for database pool used by migration runner
PoolConfig
Legacy alias for DatabasePoolConfig for backward compatibility
PoolStats
Legacy alias for DatabasePoolStats for backward compatibility