DefaultConnectionProviderclass DefaultConnectionProvider implements ConnectionProvider {constructor(driver: Driver);provideConnection<T>(consumer: (connection: DatabaseConnection) => Promise<T>): Promise<T>;}§Implements§ConnectionProvider[src]§Constructors§new DefaultConnectionProvider(driver: Driver)[src]§Methods§provideConnection<T>(consumer: (connection: DatabaseConnection) => Promise<T>): Promise<T>[src]Provides a connection for the callback and takes care of disposing the connection after the callback has been run.