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

Method find

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

Source from the content-addressed store, hash-verified

14 */
15export class MutationCache extends MC {
16 override find<
17 TData = unknown,
18 TError = DefaultError,
19 TVariables = any,
20 TOnMutateResult = unknown,
21 >(
22 filters: MaybeRefDeep<MutationFilters>,
23 ): Mutation<TData, TError, TVariables, TOnMutateResult> | undefined {
24 return super.find(cloneDeepUnref(filters))
25 }
26
27 override findAll(
28 filters: MaybeRefDeep<MutationFilters> = {},

Callers

nothing calls this directly

Calls 1

cloneDeepUnrefFunction · 0.90

Tested by

no test coverage detected