Open History to see the last commit
1---
2id: InsertConfig
3title: InsertConfig
4---
5
6Defined in: [packages/db/src/types.ts:718](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L718)
7
8## Properties
9
10### metadata?
11
12```ts
13optional metadata: Record<string, unknown>;
14```
15
16Defined in: [packages/db/src/types.ts:719](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L719)
17
18***
19
20### optimistic?
21
22```ts
23optional optimistic: boolean;
24```
25
26Defined in: [packages/db/src/types.ts:721](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L721)
27
28Whether to apply optimistic updates immediately. Defaults to true.