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