Skip to main content
Version: 6.3

QueryHelper

Index

Constructors

constructor

Properties

staticreadonlySUPPORTED_OPERATORS

SUPPORTED_OPERATORS: string[] = ...

Methods

staticfindProperty

  • findProperty<T>(fieldName, options): undefined | EntityProperty<T, any>
  • Type parameters

    • T

    Parameters

    • fieldName: string
    • options: ProcessWhereOptions<T>

    Returns undefined | EntityProperty<T, any>

staticgetActiveFilters

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

staticinlinePrimaryKeyObjects

  • inlinePrimaryKeyObjects<T>(where, meta, metadata, key): boolean

staticisFilterActive

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

    Returns boolean

staticprocessCustomType

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

staticprocessObjectParams

  • processObjectParams<T>(params): T
  • Type parameters

    • T: object

    Parameters

    • params: T = ...

    Returns T

staticprocessParams

  • processParams(params): any
  • Parameters

    • params: unknown

    Returns any

staticprocessWhere

  • Type parameters

    • T: object

    Parameters

    • options: ProcessWhereOptions<T>

    Returns FilterQuery<T>