I am trying to build an application wherein I need to save the data, uploaded in the table, in multiple collections of a database in mongodb. I am successfully able to save the data in the collections, but I need this to be done in a transaction. So, that if there is an error while processing the data, the entire data saved will be rolled back.
How do I add transactions in retool and go about it??
I am new to retool and mongodb and am still in the learning process. I would appreciate and would be grateful for any help that would be offered.