Skip to main content
Version: 4.4

Interface: AliasQueryBuilder<TRecord, TResult>#

knex.Knex.AliasQueryBuilder

Type parameters#

NameTypeDefault
TRecord{}any
TResult-unknown[]

Hierarchy#

Callable#

AliasQueryBuilder<AliasUT, TResult2>(...aliases: AliasUT): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameTypeDefault
AliasUTInferrableColumnDescriptor<ResolveTableType<TRecord, base>>[]-
TResult2-ArrayIfAlready<TResult, AddAliases<AddKey<SetBase<UnwrapArrayMember<TResult\>, ResolveTableType<TRecord, base\>\>, IncompatibleToAlt<ArrayMember<AliasUT\>, string, never\>\>, UnionToIntersection<IncompatibleToAlt<AliasUT extends I[] ? I extends Ref<any, TMapping\> ? TMapping : I : never, Dict<any\>, {}\>\>\>\>

Parameters:#

NameType
...aliasesAliasUT

Returns: QueryBuilder<TRecord, TResult2>

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

AliasQueryBuilder<AliasUT, TResult2>(aliases: AliasUT): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameTypeDefault
AliasUTInferrableColumnDescriptor<ResolveTableType<TRecord, base>>[]-
TResult2-ArrayIfAlready<TResult, AddAliases<AddKey<SetBase<UnwrapArrayMember<TResult\>, ResolveTableType<TRecord, base\>\>, IncompatibleToAlt<ArrayMember<AliasUT\>, string, never\>\>, UnionToIntersection<IncompatibleToAlt<AliasUT extends I[] ? I extends Ref<any, TMapping\> ? TMapping : I : never, Dict<any\>, {}\>\>\>\>

Parameters:#

NameType
aliasesAliasUT

Returns: QueryBuilder<TRecord, TResult2>

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

AliasQueryBuilder<AliasUT, TResult2>(...aliases: AliasUT): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameTypeDefault
AliasUT(string | Dict<any>)[]-
TResult2-ArrayIfAlready<TResult, AddAliases<AddKey<SetBase<UnwrapArrayMember<TResult\>, ResolveTableType<TRecord, base\>\>, IncompatibleToAlt<ArrayMember<AliasUT\>, string, never\>\>, UnionToIntersection<IncompatibleToAlt<AliasUT extends I[] ? I extends Ref<any, TMapping\> ? TMapping : I : never, Dict<any\>, {}\>\>\>\>

Parameters:#

NameType
...aliasesAliasUT

Returns: QueryBuilder<TRecord, TResult2>

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

AliasQueryBuilder<AliasUT, TResult2>(aliases: AliasUT): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameTypeDefault
AliasUT(string | Dict<any>)[]-
TResult2-ArrayIfAlready<TResult, AddAliases<AddKey<SetBase<UnwrapArrayMember<TResult\>, TRecord\>, IncompatibleToAlt<ArrayMember<AliasUT\>, string, never\>\>, UnionToIntersection<IncompatibleToAlt<AliasUT extends I[] ? I extends Ref<any, TMapping\> ? TMapping : I : never, Dict<any\>, {}\>\>\>\>

Parameters:#

NameType
aliasesAliasUT

Returns: QueryBuilder<TRecord, TResult2>

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

Last updated on by renovate[bot]