Can you work transactions with mongodb?
Can you please provide more information?
Excuse me if it is not well written.
For example, when you need to ensure that an action that involves one or more tables is completed, to ensure data consistency, and if any failure occurs during the execution of that action, undo the changes (save a sale in the sale table and to Once you update the stock in the product table. For example, if a failure occurs when the sale has already been saved but not the stock update, then undo all the changes, that is, delete the sale made)
Thank you very much, I hope you can help me since I still do not know how to solve that issue. Thank you