3.8/API/IOperatorFilter
IOperatorFilter
ArchivedThese are the docs for ng-qubee 3.8. Read the 4.0 docs for @qubeejs/angular.
Defined in: src/lib/interfaces/operator-filter.interface.ts:19
Represents a filter with an explicit operator for the NestJS driver
Operator filters produce query parameters in the format:
filter.field=$operator:value
Example
Section titled “Example”const filter: IOperatorFilter = { field: 'age', operator: FilterOperatorEnum.GTE, values: [18]};// Produces: filter.age=$gte:18Properties
Section titled “Properties”field:
string
Defined in: src/lib/interfaces/operator-filter.interface.ts:21
The field name to filter on
operator
Section titled “operator”operator:
FilterOperatorEnum
Defined in: src/lib/interfaces/operator-filter.interface.ts:23
The filter operator to apply
values
Section titled “values”values: (
string|number|boolean)[]
Defined in: src/lib/interfaces/operator-filter.interface.ts:25
The value(s) for the filter