Skip to main content
Version: 4.4

Interface: AsymmetricAggregation<TRecord, TResult, TValue>#

knex.Knex.AsymmetricAggregation

Type parameters#

NameDefault
TRecordany
TResultunknown[]
TValueany

Hierarchy#

  • AsymmetricAggregation

Callable#

AsymmetricAggregation<TResult2>(...columnNames: readonly keyof ResolveTableType<TRecord, base>[]): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameDefault
TResult2ArrayIfAlready<TResult, UnwrapArrayMember<TResult\> extends DeferredKeySelection<TBase, TKeys, THasSelect, TAliasMapping, TSingle, TIntersectProps, TUnionProps\> ? true extends THasSelect ? DeferredKeySelection<TBase, TKeys, THasSelect, TAliasMapping, TSingle, TIntersectProps & Dict<TValue\>, TUnionProps\> : DeferredKeySelection<{}, never, true, {}, false, Dict<TValue\>, never\> : Dict<TValue\>\>

Parameters:#

NameType
...columnNamesreadonly keyof ResolveTableType<TRecord, base>[]

Returns: QueryBuilder<TRecord, TResult2>

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

AsymmetricAggregation<TAliases, TResult2>(aliases: TAliases): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameTypeDefault
TAliases{}Record<string, string \
TResult2-ArrayIfAlready<TResult, UnwrapArrayMember<TResult\> extends DeferredKeySelection<TBase, TKeys, THasSelect, TAliasMapping, TSingle, TIntersectProps, TUnionProps\> ? true extends THasSelect ? DeferredKeySelection<TBase, TKeys, THasSelect, TAliasMapping, TSingle, TIntersectProps & { [k in string \

Parameters:#

NameType
aliasesTAliases

Returns: QueryBuilder<TRecord, TResult2>

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

AsymmetricAggregation<TResult2>(...columnNames: readonly (string | Raw<any> | Readonly<Record<string, string | string[] | Raw<any>>>)[]): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameDefault
TResult2ArrayIfAlready<TResult, UnwrapArrayMember<TResult\> extends DeferredKeySelection<TBase, TKeys, THasSelect, TAliasMapping, TSingle, TIntersectProps, TUnionProps\> ? true extends THasSelect ? DeferredKeySelection<TBase, TKeys, THasSelect, TAliasMapping, TSingle, TIntersectProps & Dict<TValue\>, TUnionProps\> : DeferredKeySelection<{}, never, true, {}, false, Dict<TValue\>, never\> : Dict<TValue\>\>

Parameters:#

NameType
...columnNamesreadonly (string | Raw<any> | Readonly<Record<string, string | string[] | Raw<any>>>)[]

Returns: QueryBuilder<TRecord, TResult2>

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

Last updated on by renovate[bot]