- Preparing search index...
- The search index is not available
oracle-helpers
- setPoolDefaults(dbConfig, options): void
-
Parameters
-
dbConfig: undefined | ConnectionAttributes
-
options: undefined | Partial<Omit<PoolAttributes, "poolAlias" | "user" | "connectString" | "connectionString">>
Returns void
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
foroptions
will remove the set values