Class QueryFilters
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Selects the entries a QueryClient method works on, TanStack Query's query filters. Every property that is set must match: an entry is selected when its key matches, it is of the type asked for, its staleness and fetch status are those asked for, and the predicate accepts it.
public sealed record QueryFilters
- Inheritance
-
objectQueryFilters
Properties
- FetchStatus
Selects by whether a request is in flight; null selects both.
- QueryKey
The key the entries are selected by: the entries whose key it leads, or only the entry it equals under Exact. Null selects every key. See QueryKey for how a filter key matches.