Framework
TransactionContextState
Internal transaction context state.
| Property | Type | Description |
|---|
completed | boolean | Whether the transaction has been committed or rolled back. |
deletes | Set<string> | Staged delete operations. |
mutationCount | number | Mutation count for single-mode enforcement. |
readVersions | Map<string, number> | Read set for version tracking (optimistic mode). Maps composite key "model:id" to the version read. |
staged | Map<string, unknown> | Staged set operations. |