-
Notifications
You must be signed in to change notification settings - Fork 516
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
How to get the number of updated/deleted rows? #331
Labels
Comments
There is any utility for this?
If not, can you add a function like this ?
|
You can add this:
|
Hello @paulo-coutinho, Your query.exec() call does already return the number of changes made :)
|
SRombauts
added a commit
that referenced
this issue
Jul 25, 2021
Fix #331 How to get the number of updated/deleted rows?
SRombauts
added a commit
that referenced
this issue
Jul 25, 2021
Fix #331 How to get the number of updated/deleted rows? Fix cpplint warnings about line size with a NOLINT comment when better to keep oneline
SRombauts
added a commit
that referenced
this issue
Jul 25, 2021
…s() from SRombauts/get-changes Fix #331 How to get the number of updated/deleted rows?
Thanks for the suggestion, I implemented it and added it in examples and unit tests, even if it wasn't really strictly needed; it shows people might look for it like you did. Cheers! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
How i can get the number of affected rows for update/delete?
Example:
Thanks.
The text was updated successfully, but these errors were encountered: