本页还没有译文
本页 11 段还没译成Español,下面显示的是英文原文。ResolveTransactionChanges
还没翻译译自英文(tanstack.com)本页 11 段都还没译
type ResolveTransactionChanges<T, TOperation> = TOperation extends "delete" ? T : Partial<T>;Defined in: packages/db/src/types.ts:88
Type Parameters
T
T extends object = Record<string, unknown>
TOperation
TOperation extends OperationType = OperationType
Remarks
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.
See
https://github.com/TanStack/db/pull/209#issuecomment-3053001206
AI 翻译查看英文原文