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): string

Parameters#

NameType
pathstring

Returns: string

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


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


renameFieldToPK#

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

Type parameters#

Name
T

Parameters#

NameType
qbIQueryBuilder<T>

Returns: string

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


shouldInline#

shouldInline(payload: any): boolean

Parameters#

NameType
payloadany

Returns: boolean

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


shouldRename#

shouldRename(payload: any): boolean

Parameters#

NameType
payloadany

Returns: boolean

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


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