Skip to main content
Version: 4.4

Interface: Config<SV>#

knex.Knex.Config

Type parameters#

NameTypeDefault
SV{}any

Hierarchy#

  • Config

Properties#

acquireConnectionTimeout#

• Optional acquireConnectionTimeout: undefined | number

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


asyncStackTraces#

• Optional asyncStackTraces: undefined | boolean

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


client#

• Optional client: undefined | string | typeof Client

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


connection#

• Optional connection: undefined | string | ConnectionConfig | MariaSqlConnectionConfig | MySqlConnectionConfig | MySql2ConnectionConfig | MsSqlConnectionConfig | OracleDbConnectionConfig | PgConnectionConfig | Sqlite3ConnectionConfig | SocketConnectionConfig | SyncConnectionConfigProvider | AsyncConnectionConfigProvider

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


debug#

• Optional debug: undefined | boolean

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


dialect#

• Optional dialect: undefined | string

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


log#

• Optional log: undefined | Logger

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


migrations#

• Optional migrations: undefined | MigratorConfig

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


pool#

• Optional pool: undefined | PoolConfig

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


postProcessResponse#

• Optional postProcessResponse: undefined | (result: any, queryContext: any) => any

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


searchPath#

• Optional searchPath: undefined | string | readonly string[]

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


seeds#

• Optional seeds: undefined | SeederConfig<SV>

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


useNullAsDefault#

• Optional useNullAsDefault: undefined | boolean

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


version#

• Optional version: undefined | string

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


wrapIdentifier#

• Optional wrapIdentifier: undefined | (value: string, origImpl: (value: string) => string, queryContext: any) => string

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

Last updated on by renovate[bot]