Answer Posted / Rahul Singh Rathor
MongoDB provides multi-document ACID transactions through the use of WiredTiger or MongoDB 4.0+ with the MongoDB Changelog feature. To perform a transaction, you can use the `beginTransaction`, `savePoint`, and `commitTransaction` methods for WiredTiger, or the `startSession` method with the `beginTransaction` operation for MongoDB 4.0+. Locking is accomplished through collection-level locks in MongoDB.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers