-
-
Notifications
You must be signed in to change notification settings - Fork 615
Throw error if none of the db rows are affected #211
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
Conversation
aaaf8bd to
966f7ff
Compare
|
We need unit tests using the mock connection on this behaviour too |
Added! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have noticed a problem. this behavior should only applies to update_one, while for update many, it's fine to have updated 0 rows.
Fixed |
Throw error if none of the db rows are affected
Resolve #181