Skip to content
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

Allow access to rowcount for operations #43

Open
wichert opened this issue Feb 24, 2020 · 1 comment
Open

Allow access to rowcount for operations #43

wichert opened this issue Feb 24, 2020 · 1 comment

Comments

@wichert
Copy link

wichert commented Feb 24, 2020

Occasionally I need to know how many rows where affected by a DELETE or UPDATE. This is currently not possible, since runOperation and runQuery both discard the cursor.

@wichert
Copy link
Author

wichert commented Feb 24, 2020

The simplest change here is to return the rowcount for runOperation - that appears to be fully backwards compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant