Version: 4.3

Interface: ICriteriaNode

Hierarchy

  • ICriteriaNode

Properties

entityName

Readonly entityName: string

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


key

Optional Readonly key: string | undefined

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


parent

Optional Readonly parent: ICriteriaNode | undefined

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


payload

payload: any

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


prop

Optional prop: EntityProperty

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

Methods

getPath

getPath(): string

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

Returns: string


getPivotPath

getPivotPath(path: string): string

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

Parameters:

NameType
pathstring

Returns: string


process

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

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

Type parameters:

Name
T

Parameters:

NameType
qbIQueryBuilder<T>
alias?string

Returns: any


renameFieldToPK

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

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

Type parameters:

Name
T

Parameters:

NameType
qbIQueryBuilder<T>

Returns: string


shouldInline

shouldInline(payload: any): boolean

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

Parameters:

NameType
payloadany

Returns: boolean


shouldRename

shouldRename(payload: any): boolean

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

Parameters:

NameType
payloadany

Returns: boolean


willAutoJoin

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

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

Type parameters:

Name
T

Parameters:

NameType
qbIQueryBuilder<T>
alias?string

Returns: boolean

Last updated on by Martin Adámek