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

InsertConfig.md

28 lines609 Bytes

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