Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

OperationConfig.md

28 lines615 Bytes

1---
2id: OperationConfig
3title: OperationConfig
4---
5​
6Defined in: [packages/db/src/types.ts:608](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L608)
7​
8## Properties
9​
10### metadata?
11​
12```ts
13optional metadata: Record<string, unknown>;
14```
15​
16Defined in: [packages/db/src/types.ts:609](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L609)
17​
18***
19​
20### optimistic?
21​
22```ts
23optional optimistic: boolean;
24```
25​
26Defined in: [packages/db/src/types.ts:611](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L611)
27​
28Whether to apply optimistic updates immediately. Defaults to true.