-
Notifications
You must be signed in to change notification settings - Fork 102
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
Only run mutations inside of a transaction. #361
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
@@ -274,6 +274,17 @@ class TransactionRequest { | |||
* ]; | |||
*/ | |||
deleteRows(table, keys, callback) { | |||
if (!this.transaction) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
if (!this.transaction) { | ||
this.database.runTransaction((err, transaction) => { | ||
if (err) { | ||
callback(err); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
db749d3
to
73727ba
Compare
Another case of the "works for me, but not for Kokoro!" :( @callmehiphop could you try out the system tests on this when you have a chance? |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) |
Codecov Report
@@ Coverage Diff @@
## master #361 +/- ##
==========================================
+ Coverage 99.54% 99.54% +<.01%
==========================================
Files 12 12
Lines 1308 1316 +8
==========================================
+ Hits 1302 1310 +8
Misses 6 6
Continue to review full report at Codecov.
|
Fixes #336
Fixes #347
To Dos