Skip to main content
Version: 4.4

Interface: WhereBetween<TRecord, TResult>#

knex.Knex.WhereBetween

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Hierarchy#

  • WhereBetween

Callable#

WhereBetween<K>(columnName: K, range: readonly (Readonly<TRecord[K]> | Readonly<Raw<TRecord[K]>>)[]): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
Kstring | number | symbol

Parameters:#

NameType
columnNameK
rangereadonly (Readonly<TRecord[K]> | Readonly<Raw<TRecord[K]>>)[]

Returns: QueryBuilder<TRecord, TResult>

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

WhereBetween(columnName: string, range: readonly Value[]): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
columnNamestring
rangereadonly Value[]

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Martin Adámek