Transaction class abstract

A transaction that accumulates changes and commits them atomically.

Constructors

Transaction()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

commit() → void
Atomically commit all staged changes as a new version.
get(Uint8List key) Uint8List?
Read a key (sees own uncommitted writes + snapshot).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(Uint8List key, Uint8List value) → void
Stage a write.
remove(Uint8List key) → void
Stage a delete.
rollback() → void
Discard all staged changes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited