filter package
A set of utility typings and filter builders to aid in constructing LoopBack filters using the builder pattern.
Remarks
This lightweight module provides strongly-typed typings and filter builders to intuitively construct LoopBack filters to be used against querying a LoopBack filter-compatible server over the network or within the server itself.
Classes
| Class | Description |
|---|---|
|
A builder for Filter. It provides fleunt APIs to add clauses such as | |
|
A builder for Where object. It provides fluent APIs to add clauses such as |
Functions
| Function | Description |
|---|---|
|
TypeGuard for Filter |
Interfaces
| Interface | Description |
|---|---|
|
And clause | |
|
Query filter object | |
|
Inclusion of related items Note: scope means filter on related items Example: | |
|
Or clause |
Type Aliases
| Type Alias | Description |
|---|---|
|
Condition clause | |
|
Order by direction | |
|
Selection of fields Example: | |
|
Filter without | |
|
Inclusion filter type e.g. ‘property’, {relation: ‘property’} | |
|
Key types of a given model, excluding operators | |
|
Operators for where clauses | |
|
Order by Example: | |
|
Matching predicate comparison | |
|
Value types for | |
|
Where clause |