Function setPoolDefaults

  • Sets the default pool options for generating the pool from its config.

    If undefined is passed for the config, the defaults will apply globally (to all future pools).

    The most specific options will win in the case of the same setting being applied in different ways.

    Setting this multiple times for the same pool will completely override any previously set values

    Passing in undefined for options will remove the set values

    Parameters

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

    Returns void

Generated using TypeDoc