Skip to main content
Version: Next

Interface: ICriteriaNode

knex.ICriteriaNode

Properties#

entityName#

Readonly entityName: string

Defined in#

packages/knex/src/typings.ts:133


key#

Optional Readonly key: string

Defined in#

packages/knex/src/typings.ts:135


parent#

Optional Readonly parent: ICriteriaNode

Defined in#

packages/knex/src/typings.ts:134


payload#

payload: any

Defined in#

packages/knex/src/typings.ts:136


prop#

Optional prop: EntityProperty<any>

Defined in#

packages/knex/src/typings.ts:137

Methods#

getPath#

getPath(): string

Returns#

string

Defined in#

packages/knex/src/typings.ts:143


getPivotPath#

getPivotPath(path): string

Parameters#

NameType
pathstring

Returns#

string

Defined in#

packages/knex/src/typings.ts:144


process#

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

Type parameters#

Name
T

Parameters#

NameType
qbIQueryBuilder<T>
alias?string

Returns#

any

Defined in#

packages/knex/src/typings.ts:138


renameFieldToPK#

renameFieldToPK<T>(qb): string

Type parameters#

Name
T

Parameters#

NameType
qbIQueryBuilder<T>

Returns#

string

Defined in#

packages/knex/src/typings.ts:142


shouldInline#

shouldInline(payload): boolean

Parameters#

NameType
payloadany

Returns#

boolean

Defined in#

packages/knex/src/typings.ts:139


shouldRename#

shouldRename(payload): boolean

Parameters#

NameType
payloadany

Returns#

boolean

Defined in#

packages/knex/src/typings.ts:141


willAutoJoin#

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

Type parameters#

Name
T

Parameters#

NameType
qbIQueryBuilder<T>
alias?string

Returns#

boolean

Defined in#

packages/knex/src/typings.ts:140