-
-
Notifications
You must be signed in to change notification settings - Fork 85
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 can i know the number of update rows #126
Comments
Hi @skyatgit At the moment there's no way to get the number of changes. |
ok,thanks |
Hello @skyatgit Good news 😄 db.query("SELECT CHANGES();")
print(db.query_result) Which will then output the following in the Godot console:
With 0 being replaced with whatever number changes were done in the previous query. I'll see if there's any merit to implementing some additional wrappers around the |
@2shady4u ok,thank you~ and i think in the next version if the query is not 'select',the query_result return the changes count is a good thing,of course, it depends on your decision |
maybe the return value for |
db.query_result don't show the number of update rows
The text was updated successfully, but these errors were encountered: