MCPcopy Create free account
hub / github.com/TanStack/query / find

Method find

packages/vue-query/src/mutationCache.ts:11–20  ·  view source on GitHub ↗
(
    filters: MaybeRefDeep<MutationFilters>,
  )

Source from the content-addressed store, hash-verified

9
10export class MutationCache extends MC {
11 find<
12 TData = unknown,
13 TError = DefaultError,
14 TVariables = any,
15 TOnMutateResult = unknown,
16 >(
17 filters: MaybeRefDeep<MutationFilters>,
18 ): Mutation<TData, TError, TVariables, TOnMutateResult> | undefined {
19 return super.find(cloneDeepUnref(filters))
20 }
21
22 findAll(filters: MaybeRefDeep<MutationFilters> = {}): Array<Mutation> {
23 return super.findAll(cloneDeepUnref(filters))

Callers

nothing calls this directly

Calls 1

cloneDeepUnrefFunction · 0.90

Tested by

no test coverage detected