Module akd::storage::transaction

source ·
Expand description

A simple in-memory transaction object to minize data-layer operations

Structs

Represents an in-memory transaction, keeping a mutable state of the changes. When you “commit” this transaction, you return the collection of values which need to be written to the storage layer including all mutations. Rollback simply empties the transaction state.