MongoDB Atomic Operations

MongoDB does not help in multi-document atomic transactions. Nonetheless, it does give atomic operations on a single document. So if a document has hundred fields the update query will either update all the fields or none, thus keeping up atomicity at document level. Model Data for Atomic Operations The prescribed methodology to keep up atomicity would be to keep all the […]