# InsertConfig

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [packages/db/src/types.ts:718](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L718)

## Properties

### metadata?

```ts
optional metadata?: Record<string, unknown>;
```

Defined in: [packages/db/src/types.ts:719](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L719)

***

### optimistic?

```ts
optional optimistic?: boolean;
```

Defined in: [packages/db/src/types.ts:721](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L721)

Whether to apply optimistic updates immediately. Defaults to true.
