Suggest an editImprove this articleRefine the answer for “What does "atomicity" mean in the context of CRUD?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)Atomicity means an operation either runs completely or doesn't run at all - a document can't be updated "halfway": either the whole operation succeeds, or the data stays in its original state. **Key point:** if something goes wrong, MongoDB rolls the change back, so the application never sees the document "in an intermediate state" - atomicity is what guarantees data integrity.Shown above the full answer for quick recall.Answer (EN)ImageAtomicity in the context of CRUD means that **an operation either runs completely, or it doesn't run at all**. A document can't be updated "halfway", either the whole operation succeeds, or the data stays in its original state. ### In simple terms, for a junior developer - an operation is **indivisible** - the database doesn't allow "half-saved" data - if something goes wrong, MongoDB **rolls the change back** ### A way to think about it If a document is being updated, it changes as a whole, and the application never sees it "in an intermediate state". **Summary:** atomicity guarantees data integrity, every CRUD step either succeeds completely or is undone.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.