Transaction

Noun · Development

Definitions

  1. A sequence of database operations treated as a single atomic unit — either all succeed (commit) or all are rolled back. Transactions provide ACID guarantees: Atomicity, Consistency, Isolation, and Durability.

    In plain English: A group of database changes that either all happen together or none of them happen, so your data never ends up in a half-finished state.

    Example: "Wrap the transfer in a transaction so we never debit one account without crediting the other."

Related Terms