* An even more advanced method that can be used to get existing query instances from the cache * that partially match a query key. If no queries match, an empty array is returned. * * This is not typically needed for most applications, but can come in handy when needing more * informatio
(filters: QueryFilters<any> = {})
| 322 | * ``` |
| 323 | */ |
| 324 | findAll(filters: QueryFilters<any> = {}): Array<Query> { |
| 325 | const queries = this.getAll() |
| 326 | return Object.keys(filters).length > 0 |
| 327 | ? queries.filter((query) => matchQuery(filters, query)) |
| 328 | : queries |
| 329 | } |
| 330 | |
| 331 | /** @internal */ |
| 332 | notify(event: QueryCacheNotifyEvent): void { |
no test coverage detected