File: ResolveTransactionChanges.md | Updated: 11/15/2025
Search...
+ K
Auto
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide
Documentation
Framework
React
Version
Latest
Search...
+ K
Menu
Getting Started
Guides
Collections
Frameworks
Community
API Reference
Framework
React
Version
Latest
Menu
Getting Started
Guides
Collections
Frameworks
Community
API Reference
On this page
Copy Markdown
ts
type ResolveTransactionChanges<T, TOperation> = TOperation extends "delete" ? T : Partial<T>;
type ResolveTransactionChanges<T, TOperation> = TOperation extends "delete" ? T : Partial<T>;
Defined in: packages/db/src/types.ts:79
Type Parameters
---------------
### T
T extends object = Record<string, unknown>
TOperation extends OperationType = OperationType
update and insert are both represented as Partial<T>, but changes for insert could me made more precise by inferring the schema input type. In practice, this has almost 0 real world impact so it's not worth the added type complexity.
https://github.com/TanStack/db/pull/209#issuecomment-3053001206
