Transaction types
View
Read-only transaction. Pins MVCCread_seq at start when format v2 is enabled.
Update / Batch
Exclusive write lock. Logical writes via*Tx.
Batch is an alias for Update for naming parity.
MVCC snapshots
ViewAt
Pin a specificread_seq snapshot. Returns ErrReadSeqFuture if the sequence is too new.
ViewAtTime
Map wall-clock time to the latest commit ≤as_of, then pin that snapshot.
Transaction properties
Writable
Returnstrue inside Update / Batch transactions.
Raw B+ tree operations
Get
Raw B+ tree get by byte key.Put
Raw B+ tree put (requiresUpdate).
AscendRange
Ordered scan over byte keys[from, to).
Snapshot tags
Human-friendly names for MVCC commit sequences.TagSnapshot
Pin the current headCommitSeq under a label. Overwrites existing tags with the same name.
ViewAtTag
Open a read-only snapshot pinned to a tag.ErrSnapshotTagNotFound if the label does not exist.