Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueryFilters

interface QueryFilters {
exact?: boolean;
fetchStatus?: FetchStatus;
predicate?: (query: Query) => boolean;
queryKey?: QueryKey;
stale?: boolean;
}

§Properties

§
exact?: boolean
[src]

Match query key exactly

§
fetchStatus?: FetchStatus
[src]

Include queries matching their fetchStatus

§
predicate?: (query: Query) => boolean
[src]

Include queries matching this predicate function

§
queryKey?: QueryKey
[src]

Include queries matching this query key

§
stale?: boolean
[src]

Include or exclude stale queries

§

Filter to active queries, inactive queries or all queries