oracle-helpers
    Preparing search index...

    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: ConnectionAttributes | undefined
      • options:
            | Partial<
                Omit<
                    PoolAttributes,
                    "poolAlias"
                    | "user"
                    | "connectString"
                    | "connectionString",
                >,
            >
            | undefined

      Returns void