removeQueries method

void removeQueries(
  1. ZenQueryFilter filter
)

Remove all queries and cache entries matching filter completely from the cache.

Implementation

void removeQueries(ZenQueryFilter filter) {
  final matchingKeys = getMatchingKeys(filter);
  for (final key in matchingKeys) {
    removeQuery(key);
  }
  ZenLogger.logDebug(
      'Removed ${matchingKeys.length} queries matching filter');
}