Skip to main content
Version: 4.5

Interface: PoolConfig#

knex.Knex.PoolConfig

Properties#

acquireTimeoutMillis#

Optional acquireTimeoutMillis: number

Defined in: node_modules/knex/types/index.d.ts:2095


afterCreate#

Optional afterCreate: Function

Defined in: node_modules/knex/types/index.d.ts:2080


createRetryIntervalMillis#

Optional createRetryIntervalMillis: number

Defined in: node_modules/knex/types/index.d.ts:2092


createTimeoutMillis#

Optional createTimeoutMillis: number

Defined in: node_modules/knex/types/index.d.ts:2093


destroyTimeoutMillis#

Optional destroyTimeoutMillis: number

Defined in: node_modules/knex/types/index.d.ts:2094


idleTimeoutMillis#

Optional idleTimeoutMillis: number

Defined in: node_modules/knex/types/index.d.ts:2084


log#

Optional log: (message: string, logLevel: string) => void

Type declaration:#

▸ (message: string, logLevel: string): void

Parameters:#

NameType
messagestring
logLevelstring

Returns: void

Defined in: node_modules/knex/types/index.d.ts:2088

Defined in: node_modules/knex/types/index.d.ts:2088


max#

Optional max: number

Defined in: node_modules/knex/types/index.d.ts:2082


min#

Optional min: number

Defined in: node_modules/knex/types/index.d.ts:2081


name#

Optional name: string

Defined in: node_modules/knex/types/index.d.ts:2079


priorityRange#

Optional priorityRange: number

Defined in: node_modules/knex/types/index.d.ts:2087


propagateCreateError#

Optional propagateCreateError: boolean

Defined in: node_modules/knex/types/index.d.ts:2091


reapIntervalMillis#

Optional reapIntervalMillis: number

Defined in: node_modules/knex/types/index.d.ts:2085


refreshIdle#

Optional refreshIdle: boolean

Defined in: node_modules/knex/types/index.d.ts:2083


returnToHead#

Optional returnToHead: boolean

Defined in: node_modules/knex/types/index.d.ts:2086

Last updated on by Martin Adámek