Skip to content

Transactions

See Python Quickstart — Transactions for a quick introduction.

HyperMesh DB implements READ COMMITTED isolation: a transaction sees the last committed state of the database. Uncommitted writes within the same transaction are buffered in memory and not visible to concurrent readers.

On rollback(), buffered inserts are discarded. Any inserts already flushed to the WAL during the transaction are neutralised by appending matching tombstone records.