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

InsertConfig.md

30 lines636 Bytes

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