I am new to MongoDB. I read that MongoDB does not support multi-document transactions
here http://docs.mongodb.org/manual/faq/fundamentals/.
If I want to
Only support Single Document Transaction.
You can see it at: https://docs.mongodb.com/v3.2/tutorial/perform-two-phase-commits/
Multi-document updates or “multi-document transactions” using a two-phase commit approac described here: http://docs.mongodb.org/manual/tutorial/perform-two-phase-commits/