-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to run repo insert or update queries in a transaction? #200
Comments
If you run these multiple operations in a Test it and let me know |
I did something like this and the first employee was saved to the DB. Should I do something different?
|
I've reproduced the issue and am working on it now |
Hi @grrenier, I've fixed the issue in this release: Can you check it out and let me know? |
Hi @noam-honig, I tested the version 0.20.5 and it works as expected. You are doing an awesome work in this framework. |
I there a way to run multiple insert/update queries inside a MongoDB transaction, for example when we do a deposit into an account we need to insert the deposit amount in the
AccountTransaction
and then update theAccount
balance but that should be a transaction to be able to do a rollback when there is any error.The text was updated successfully, but these errors were encountered: