Skip to main content
Version: 6.4

QueryHelper

Index

Constructors

constructor

Properties

staticreadonlySUPPORTED_OPERATORS

SUPPORTED_OPERATORS: string[] = ...

Methods

staticfindProperty

  • Parameters

    • fieldName: string
    • options: ProcessWhereOptions<T>

    Returns undefined | EntityProperty<T, any>

staticgetActiveFilters

  • getActiveFilters(entityName, options, filters): FilterDef[]

staticinlinePrimaryKeyObjects

  • inlinePrimaryKeyObjects(where, meta, metadata, key): boolean

staticisFilterActive

  • isFilterActive(entityName, filterName, filter, options): boolean
  • Parameters

    Returns boolean

staticprocessCustomType

  • processCustomType(prop, cond, platform, key, fromQuery): FilterQuery<T>

staticprocessObjectParams

  • processObjectParams(params): T
  • Parameters

    • params: T = ...

    Returns T

staticprocessParams

  • processParams(params): any
  • Parameters

    • params: unknown

    Returns any

staticprocessWhere

  • Parameters

    • options: ProcessWhereOptions<T>

    Returns FilterQuery<T>