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

insertconfig.md

32 lines709 Bytes

1---
2id: InsertConfig
3title: InsertConfig
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8# Interface: InsertConfig
9​
10Defined in: [packages/db/src/types.ts:270](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L270)
11​
12## Properties
13​
14### metadata?
15​
16```ts
17optional metadata: Record<string, unknown>;
18```
19​
20Defined in: [packages/db/src/types.ts:271](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L271)
21​
22***
23​
24### optimistic?
25​
26```ts
27optional optimistic: boolean;
28```
29​
30Defined in: [packages/db/src/types.ts:273](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L273)
31​
32Whether to apply optimistic updates immediately. Defaults to true.