I am trying to insert into multiple dbs(mysql and MONGO) using api made in node.js, my concern is that if insertion in one db fails how do I make sure that the changes in other dbs doesn't occur and if done they should revert back
I am trying to insert into multiple dbs(mysql and MONGO) using api made in node.js, my concern is that if insertion in one db fails how do I make sure that the changes in other dbs doesn't occur and if done they should revert back