--- id: OperationConfig title: OperationConfig --- # Interface: OperationConfig Defined in: [packages/db/src/types.ts:411](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L411) ## Properties ### metadata? ```ts optional metadata: Record; ``` Defined in: [packages/db/src/types.ts:412](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L412) *** ### optimistic? ```ts optional optimistic: boolean; ``` Defined in: [packages/db/src/types.ts:414](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L414) Whether to apply optimistic updates immediately. Defaults to true.