Skip to main content
Version: 4.5

Interface: WhereBetween<TRecord, TResult>#

knex.Knex.WhereBetween

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Callable#

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

Type parameters:#

NameType
Kstring | number | symbol

Parameters:#

NameType
columnNameK
rangereadonly [DbColumn<TRecord[K]>, DbColumn<TRecord[K]>]

Returns: QueryBuilder<TRecord, TResult>

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

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

Parameters:#

NameType
columnNamestring
rangereadonly [Value, Value]

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Renovate Bot