Skip to main content
Version: 4.4

Interface: DistinctOn<TRecord, TResult>#

knex.Knex.DistinctOn

Type parameters#

NameTypeDefault
TRecord{}-
TResult-{}[]

Hierarchy#

  • DistinctOn

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

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

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

Parameters:#

NameType
...columnNamesreadonly string[]

Returns: QueryBuilder<TRecord, TResult>

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

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

Parameters:#

NameType
columnNamesreadonly string[]

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Martin Adámek