new module:models/FilteredQuery(filter, query)
Constructs a new FilteredQuery
.
A filtered query allows to filter the result of a (possibly complex) query using a (possibly complex) filter.
Parameters:
Name | Type | Description |
---|---|---|
filter |
module:models/Filter | The (possibly complex) filter object. |
query |
module:models/Query | The query object. |
- Source:
Members
(inner) filter :module:models/Filter
The (possibly complex) filter object.
Type:
- Source:
(inner) query :module:models/Query
The query object.
Type:
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/FilteredQuery}
Constructs a FilteredQuery
from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data
to obj
if supplied or a new instance if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:models/FilteredQuery | Optional instance to populate. |
- Source:
Returns:
The populated FilteredQuery
instance.