Skip to main content
Version: 4.5

Interface: Having<TRecord, TResult>#

knex.Knex.Having

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Hierarchy#

Callable#

Having<K>(column: K, operator: ComparisonOperator, value: DbColumn<TRecord[K]>): QueryBuilder<TRecord, TResult>

Type parameters:#

NameType
Kstring | number | symbol

Parameters:#

NameType
columnK
operatorComparisonOperator
valueDbColumn<TRecord[K]>

Returns: QueryBuilder<TRecord, TResult>

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

Having(column: string | Raw<any>, operator: string, value: QueryBuilder<any, any> | Value): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
columnstring | Raw<any>
operatorstring
valueQueryBuilder<any, any> | Value

Returns: QueryBuilder<TRecord, TResult>

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

Having(raw: Raw<any>): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
rawRaw<any>

Returns: QueryBuilder<TRecord, TResult>

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

Having(callback: QueryCallback<TRecord, TResult>): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
callbackQueryCallback<TRecord, TResult>

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Renovate Bot