---
title: "Discussion on \"How to Create an ACID Transaction in Mongoose\" | Hashnode"
description: "Discussion on \"How to Create an ACID Transaction in Mongoose\". A transaction, in the context of database systems, is a single unit of work. It either has to be completed fully or not completed at all to leave the database in a consistent state.\nFor example,\nIn an e-commerce application, when a new order is creat..."
url: "https://hashnode.com/posts/how-to-create-an-acid-transaction-in-mongoose/66331de959a205f4d8a44110"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Create an ACID Transaction in Mongoose](https://mitchcodes.hashnode.dev/how-to-create-an-acid-transaction-in-mongoose?utm_source=hashnode&utm_medium=feed)

A transaction, in the context of database systems, is a single unit of work. It either has to be completed fully or not completed at all to leave the database in a consistent state. For example, In an e-commerce application, when a new order is creat...

May 2, 2024 · 6 min read · mitchcodes.hashnode.dev  
Read the article

-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#mongoose](https://hashnode.com/tag/mongoose)
-   [#databases](https://hashnode.com/tag/databases)
-   [#transactions](https://hashnode.com/tag/transactions)

## Written by

[Michelle Ndiangui](https://hashnode.com/@mithoni)

@mithoni · Nairobi, Kenya

  
[View profile](https://hashnode.com/@mithoni)

Software Engineer | JavaScript | Python

Hey, I'm Michelle. I'm a Kenyan Computer Science student who is committing to becoming a software engineer by the end of the year 2023.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
