-
Notifications
You must be signed in to change notification settings - Fork 200
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
Database#execute does not return a ResultSet #561
Comments
@rickhull Thanks for pointing this out. The behavior you're seeing ( Changing what that method returns now would break many applications, unfortunately. |
rickhull
added a commit
to rickhull/sqlite3-ruby
that referenced
this issue
Sep 17, 2024
Updated several inaccuracies, per Issue sparklemotion#561
Merged
flavorjones
pushed a commit
that referenced
this issue
Sep 18, 2024
* Update FAQ.md Updated several inaccuracies, per Issue #561 * fix typo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the FAQ here: https:/sparklemotion/sqlite3-ruby/blob/main/FAQ.md#how-do-i-discover-metadata-about-a-query
This doesn't actually work.
Database#execute
returns an Array of Arrays.The FAQ seems to imply
ResultSet
behavior, but AFAICT, you only get aResultSet
fromStatement#execute
but notDatabase#execute
. I lean towards unifying the behavior.The text was updated successfully, but these errors were encountered: