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:439](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L439)
9​
10## Properties
11​
12### metadata?
13​
14```ts
15optional metadata: Record<string, unknown>;
16```
17​
18Defined in: [packages/db/src/types.ts:440](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L440)
19​
20***
21​
22### optimistic?
23​
24```ts
25optional optimistic: boolean;
26```
27​
28Defined in: [packages/db/src/types.ts:442](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L442)
29​
30Whether to apply optimistic updates immediately. Defaults to true.