How to use transactions in the Moongodb Realm app function. If I want to insert 2 documents into 2 collections. If one of them failed the transaction in the session should be rollback. I am talking about the Realm system app function.
As far as I know Realm does not support transactions for now.
What you can potentially do is upload a mongodb node js driver as a dependency and have a code to execute a transaction through the driver.