Methods
filter(records) → {Array.<Record>}
Filters records based on configuration The filters are set in the config as a key and set of values, such as:
filters: {
property: ['value1', 'value2'],
}
The property is taken from the meta
attribute of the record
Parameters:
Name | Type | Description |
---|---|---|
records |
Array.<Record>
|
(async) loadAll() → {Promise.<Array.<Record>>}
Loads all records - this function must be implemented by subclasses