Function createPool

  • Create/Get a connection pool

    Parameters

    • dbConfig: ConnectionAttributes
    • options: Partial<Omit<PoolAttributes, "poolAlias" | "user" | "connectString" | "connectionString">> = {}

    Returns Promise<Pool>

    A connection pool.

Generated using TypeDoc