Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
query(store, type, params) {
let query = this.cache.getRecordArrayQuery(type, params);
if (!query) {
let strategy = new this.strategyClass();
query = new ArrayQuery(store, type, params, strategy);
this.cache.putRecordArrayQuery(query);
}
return query;
}
}