Skip to main content
Version: 4.4

Interface: WhereIn<TRecord, TResult>#

knex.Knex.WhereIn

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Hierarchy#

  • WhereIn

Callable#

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

Type parameters:#

NameType
Kstring | number | symbol

Parameters:#

NameType
columnNameK
valuesQueryCallback<any, unknown[]> | readonly (Readonly<ResolveTableType<TRecord, base>[K]> | Readonly<Raw<ResolveTableType<TRecord, base>[K]>>)[]

Returns: QueryBuilder<TRecord, TResult>

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

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:1289

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

Type parameters:#

NameType
Kstring | number | symbol

Parameters:#

NameType
columnNamesreadonly K[]
valuesQueryCallback<any, unknown[]> | readonly readonly (Readonly<ResolveTableType<TRecord, "base">[K]> | Readonly<Raw<ResolveTableType<TRecord, "base">[K]>>)[][]

Returns: QueryBuilder<TRecord, TResult>

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

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:1297

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:1301

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:1305

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:1309

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:1313

Last updated on by renovate[bot]