filter (modelName, query, filter) DS.PromiseArraydeprecatedprivate
Defined in addon/-private/system/store.js:1550
Takes a type and filter function, and returns a live RecordArray that remains up to date as new records are loaded into the store or created locally. The filter function takes a materialized record, and returns true if the record should be included in the filter and false if it should not. Example store.filter('post', function(post) {
return post.get('unread');
});
The filter