MCPcopy Create free account
hub / github.com/SvelteStack/svelte-query / executeMutation

Method executeMutation

src/queryCore/core/queryClient.ts:508–517  ·  view source on GitHub ↗
(
    options: MutationOptions<TData, TError, TVariables, TContext>
  )

Source from the content-addressed store, hash-verified

506 }
507
508 executeMutation<
509 TData = unknown,
510 TError = unknown,
511 TVariables = void,
512 TContext = unknown
513 >(
514 options: MutationOptions<TData, TError, TVariables, TContext>
515 ): Promise<TData> {
516 return this.mutationCache.build(this, options).execute()
517 }
518
519 getQueryCache(): QueryCache {
520 return this.queryCache

Callers

nothing calls this directly

Calls 2

executeMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected