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

Hierarchy

Properties

exact?: boolean

Match query key exactly

fetchStatus?: FetchStatus

Include queries matching their fetchStatus

predicate?: ((query) => boolean)

Type declaration

    • (query): boolean
    • Include queries matching this predicate function

      Parameters

      Returns boolean

queryKey?: QueryKey

Include queries matching this query key

stale?: boolean

Include or exclude stale queries

Filter to active queries, inactive queries or all queries

Generated using TypeDoc