type MutationFunctionContext = object;Defined in: packages/query-core/src/types.ts:1849
The object passed to mutationFn and the mutation callbacks: the QueryClient, the mutation's meta, and its mutationKey.
| Property | Type | Description |
|---|---|---|
| client | QueryClient | The QueryClient the mutation runs in. |
| meta | MutationMeta | undefined | The meta of the mutation options. |
| mutationKey? | MutationKey | The mutationKey of the mutation options, if set. |