Skip to main content
Version: 4.5

Interface: ICriteriaNode#

knex.ICriteriaNode

Properties#

entityName#

Readonly entityName: string

Defined in: packages/knex/src/typings.ts:115


key#

Optional Readonly key: string

Defined in: packages/knex/src/typings.ts:117


parent#

Optional Readonly parent: ICriteriaNode

Defined in: packages/knex/src/typings.ts:116


payload#

payload: any

Defined in: packages/knex/src/typings.ts:118


prop#

Optional prop: EntityProperty<any>

Defined in: packages/knex/src/typings.ts:119

Methods#

getPath#

getPath(): string

Returns: string

Defined in: packages/knex/src/typings.ts:125


getPivotPath#

getPivotPath(path: string): string

Parameters:#

NameType
pathstring

Returns: string

Defined in: packages/knex/src/typings.ts:126


process#

process<T>(qb: IQueryBuilder<T>, alias?: string): any

Type parameters:#

Name
T

Parameters:#

NameType
qbIQueryBuilder<T>
alias?string

Returns: any

Defined in: packages/knex/src/typings.ts:120


renameFieldToPK#

renameFieldToPK<T>(qb: IQueryBuilder<T>): string

Type parameters:#

Name
T

Parameters:#

NameType
qbIQueryBuilder<T>

Returns: string

Defined in: packages/knex/src/typings.ts:124


shouldInline#

shouldInline(payload: any): boolean

Parameters:#

NameType
payloadany

Returns: boolean

Defined in: packages/knex/src/typings.ts:121


shouldRename#

shouldRename(payload: any): boolean

Parameters:#

NameType
payloadany

Returns: boolean

Defined in: packages/knex/src/typings.ts:123


willAutoJoin#

willAutoJoin<T>(qb: IQueryBuilder<T>, alias?: string): boolean

Type parameters:#

Name
T

Parameters:#

NameType
qbIQueryBuilder<T>
alias?string

Returns: boolean

Defined in: packages/knex/src/typings.ts:122

Last updated on by Renovate Bot