Skip to main content
Version: 4.5

Interface: AliasQueryBuilder<TRecord, TResult>#

knex.Knex.AliasQueryBuilder

Type parameters#

NameTypeDefault
TRecordobjectany
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:918

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

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

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

Last updated on by Renovate Bot