QueryHelper
Index
Constructors
constructor
Returns QueryHelper
Properties
staticreadonlySUPPORTED_OPERATORS
Methods
staticfindProperty
Parameters
fieldName: string
options: ProcessWhereOptions<T>
Returns undefined | EntityProperty<T, any>
staticgetActiveFilters
Parameters
entityName: string
options: boolean | string[] | Dictionary<boolean | Dictionary>
filters: Dictionary<FilterDef>
Returns FilterDef[]
staticinlinePrimaryKeyObjects
Parameters
where: Dictionary
meta: EntityMetadata<T>
metadata: MetadataStorage
optionalkey: string
Returns boolean
staticisFilterActive
Parameters
entityName: string
filterName: string
filter: FilterDef
options: Dictionary<boolean | Dictionary>
Returns boolean
staticprocessCustomType
Parameters
prop: EntityProperty<T, any>
cond: FilterQuery<T>
platform: Platform
optionalkey: string
optionalfromQuery: boolean
Returns FilterQuery<T>
staticprocessObjectParams
Parameters
params: T = ...
Returns T
staticprocessParams
Parameters
params: unknown
Returns any
staticprocessWhere
Parameters
options: ProcessWhereOptions<T>
Returns FilterQuery<T>