Skip to main content
Version: 4.5

Interface: WithWrapped<TRecord, TResult>#

knex.Knex.WithWrapped

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Hierarchy#

Callable#

WithWrapped(alias: string, queryBuilder: QueryBuilder<any, any>): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
aliasstring
queryBuilderQueryBuilder<any, any>

Returns: QueryBuilder<TRecord, TResult>

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

WithWrapped(alias: string, callback: (queryBuilder: QueryBuilder<any, any>) => any): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
aliasstring
callback(queryBuilder: QueryBuilder<any, any>) => any

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Renovate Bot