Answer Posted / Manendra Singh
Transactions are not supported at the MongoDB database level, but they can be implemented using a driver-level feature or by leveraging the MongoDB Change Streams API. To implement transactional behavior in MongoDB, you can use a combination of write concerns (such as journaled and majority) to achieve atomicity, consistency, isolation, and durability (ACID) properties, while still allowing for high performance and scalability.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers