# OperationConfig

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

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

## Properties

### metadata?

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

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

***

### optimistic?

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

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

Whether to apply optimistic updates immediately. Defaults to true.
