We are using meteor in our current project. We are using MongoDB as the database and svelte as frontend. Our project requires some cascading operation for (deleting and updating) for the collections that are referenced. For this cascade operation we need to use mongodb transaction feature. But after going through the documentation we didn’t find the transaction feature. Can you please assist us how we can implement the transaction feature with Meteor?
I don’t have any sample code on hand at the moment, but in general the key here is to use rawCollection: Collections | Meteor API Docs
This exposes the native node mongodb driver (and bypasses the usual magic that Meteor provides for Mongo operations) and allows you to use code like in any other standard node project. So you can then just look up some examples of Mongo transactions with the node driver and implement that.