Open History to see the last commit
1---
2id: OperationConfig
3title: OperationConfig
4---
5
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7
8# Interface: OperationConfig
9
10Defined in: [packages/db/src/types.ts:264](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L264)
11
12## Properties
13
14### metadata?
15
16```ts
17optional metadata: Record<string, unknown>;
18```
19
20Defined in: [packages/db/src/types.ts:265](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L265)
21
22***
23
24### optimistic?
25
26```ts
27optional optimistic: boolean;
28```
29
30Defined in: [packages/db/src/types.ts:267](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L267)
31
32Whether to apply optimistic updates immediately. Defaults to true.