Transaction

A group of writes that either all happen or none do. Anything that must stay consistent across two tables belongs in one transaction, not in two separate writes.

Back to the glossary