Skip to main content
Version: 5.9

ICriteriaNode

Index

Properties

readonlyentityName

entityName: string

optionalindex

index?: number

optionalreadonlykey

key?: string

optionalreadonlyparent

parent?: ICriteriaNode

payload

payload: any

optionalprop

prop?: EntityProperty<any>

Methods

getPath

  • getPath(addIndex?: boolean): string
  • Parameters

    • optionaladdIndex: boolean

    Returns string

getPivotPath

  • getPivotPath(path: string): string
  • Parameters

    • path: string

    Returns string

process

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

    • T

    Parameters

    • qb: IQueryBuilder<T>
    • optionalalias: string

    Returns any

renameFieldToPK

  • renameFieldToPK<T>(qb: IQueryBuilder<T>): string
  • Type parameters

    • T

    Parameters

    • qb: IQueryBuilder<T>

    Returns string

shouldInline

  • shouldInline(payload: any): boolean
  • Parameters

    • payload: any

    Returns boolean

shouldRename

  • shouldRename(payload: any): boolean
  • Parameters

    • payload: any

    Returns boolean

willAutoJoin

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

    • T

    Parameters

    • qb: IQueryBuilder<T>
    • optionalalias: string

    Returns boolean