Open candlecare opened 4 years ago
No plan yet as we still didn't switch to MongoDB 4.x, but that would be a great feature indeed!
Supposedly we just have to add a session
argument in a few methods and pass it to PyMongo, which is really not much. Pull requests welcome!
API I have in mind at the moment:
with mongo_thingy.Transaction():
Foo.delete_one()
Bar().save()
Do you have any plan to support Transactions in mongo-thingy?
https://api.mongodb.com/python/current/api/pymongo/client_session.html#transactions
Thanks.
Sithu