Class SQLConnectionPoolAbstract

Hierarchy

  • SQLConnectionPool

Constructors

Properties

activeConnections: number = 0

Methods

  • Reserves an existing or new connection. It's important to call .release() on it when done. When release is not called a resource leak occurs and server crashes.

    Parameters

    • Optional logger: DatabaseLogger
    • Optional transaction: DatabaseTransaction
    • Optional stopwatch: Stopwatch

    Returns Promise<SQLConnection>

Generated using TypeDoc