Skip to main content
Version: 4.5

Interface: WhereIn<TRecord, TResult>#

knex.Knex.WhereIn

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Callable#

WhereIn<K>(columnName: K, values: QueryCallback<any, unknown[]> | readonly DbColumn<ResolveTableType<TRecord, base>[K]>[]): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
Kstring | number | symbol

Parameters:#

NameType
columnNameK
valuesQueryCallback<any, unknown[]> | readonly DbColumn<ResolveTableType<TRecord, base>[K]>[]

Returns: QueryBuilder<TRecord, TResult>

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

WhereIn(columnName: string, values: QueryCallback<any, unknown[]> | readonly Value[]): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
columnNamestring
valuesQueryCallback<any, unknown[]> | readonly Value[]

Returns: QueryBuilder<TRecord, TResult>

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

WhereIn<K>(columnNames: readonly K[], values: QueryCallback<any, unknown[]> | readonly readonly DbColumn<ResolveTableType<TRecord, "base">[K]>[][]): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
Kstring | number | symbol

Parameters:#

NameType
columnNamesreadonly K[]
valuesQueryCallback<any, unknown[]> | readonly readonly DbColumn<ResolveTableType<TRecord, "base">[K]>[][]

Returns: QueryBuilder<TRecord, TResult>

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

WhereIn(columnNames: readonly string[], values: QueryCallback<any, unknown[]> | readonly Value[][]): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
columnNamesreadonly string[]
valuesQueryCallback<any, unknown[]> | readonly Value[][]

Returns: QueryBuilder<TRecord, TResult>

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

WhereIn<K, TRecordInner, TResultInner>(columnName: K, values: QueryBuilder<TRecordInner, TRecord[K]>): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
Kstring | number | symbol
TRecordInner-
TResultInner-

Parameters:#

NameType
columnNameK
valuesQueryBuilder<TRecordInner, TRecord[K]>

Returns: QueryBuilder<TRecord, TResult>

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

WhereIn<TRecordInner, TResultInner>(columnName: string, values: Value[] | QueryBuilder<TRecordInner, TResultInner>): QueryBuilder<TRecord, TResult>

Type parameters:#

Name
TRecordInner
TResultInner

Parameters:#

NameType
columnNamestring
valuesValue[] | QueryBuilder<TRecordInner, TResultInner>

Returns: QueryBuilder<TRecord, TResult>

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

WhereIn<K, TRecordInner, TResultInner>(columnNames: readonly K[], values: QueryBuilder<TRecordInner, TRecord[K]>): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
Kstring | number | symbol
TRecordInner-
TResultInner-

Parameters:#

NameType
columnNamesreadonly K[]
valuesQueryBuilder<TRecordInner, TRecord[K]>

Returns: QueryBuilder<TRecord, TResult>

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

WhereIn<TRecordInner, TResultInner>(columnNames: readonly string[], values: QueryBuilder<TRecordInner, TResultInner>): QueryBuilder<TRecord, TResult>

Type parameters:#

Name
TRecordInner
TResultInner

Parameters:#

NameType
columnNamesreadonly string[]
valuesQueryBuilder<TRecordInner, TResultInner>

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Renovate Bot