Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionManager<P>

Manages database connections.

Type parameters

Hierarchy

Index

Methods

Abstract connect

  • Connect to the database.

    Parameters

    • connOpts: ConnectionOptions

      Connection options for setting up a connection to the database.

    Returns Promise<P>

    A promise that will be resolved with this underlying connection pool instance.

Abstract end

  • end(): Promise<void>

Abstract getConnectionState

Abstract getPool

  • getPool(): P

Generated using TypeDoc