ProtectedconnectionsProtected_Protected_Protected_Protected_Protected_Protected_Protected_Maximum number of connections in the pool
Minimum number of idle connections
Get the pending requests count
Get pool statistics
Get the current pool size
Get the number of available connections
Get the number of connections in use
Check if the pool is destroyed
Get the number of connections in use (alias for inUse)
Initialize the pool with a factory function to create connections
Get a connection from the pool
Destroy a specific connection or the entire pool
Optionalconnection: any
Optional connection to destroy. If not provided, destroys the entire pool
ProtectedcreateCreate a new database connection
Get a connection using async/await
Release a connection
Database-specific connection pool implementation