Skip to main content
Version: 4.5

Interface: DistinctOn<TRecord, TResult>#

knex.Knex.DistinctOn

Type parameters#

NameTypeDefault
TRecordobject-
TResult-{}[]

Callable#

DistinctOn<ColNameUT>(...columnNames: readonly ColNameUT[]): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
ColNameUTstring | number | symbol

Parameters:#

NameType
...columnNamesreadonly ColNameUT[]

Returns: QueryBuilder<TRecord, TResult>

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

DistinctOn<ColNameUT>(columnNames: readonly ColNameUT[]): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
ColNameUTstring | number | symbol

Parameters:#

NameType
columnNamesreadonly ColNameUT[]

Returns: QueryBuilder<TRecord, TResult>

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

DistinctOn(...columnNames: readonly string[]): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
...columnNamesreadonly string[]

Returns: QueryBuilder<TRecord, TResult>

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

DistinctOn(columnNames: readonly string[]): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
columnNamesreadonly string[]

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Renovate Bot