Repository navigation
Conversation
Collaborator
|
Review requested:
|
Renegade334
approved these changes
Nov 20, 2026
This comment was marked as outdated.
This comment was marked as outdated.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #67658 +/- ##
==========================================
+ Coverage 90.52% 90.55% +0.02%
==========================================
Files 803 803
Lines 285110 285119 +9
Branches 55037 55031 -6
==========================================
+ Hits 258101 258184 +83
+ Misses 17143 17086 -57
+ Partials 9866 9849 -17
🚀 New features to boost your workflow:
|
louwers
suggested changes
Nov 20, 2026
louwers
left a comment
Contributor
There was a problem hiding this comment.
This can not really be called a 'wrapper' around sqlite3_column_count() because it returns something different.
This comment was marked as outdated.
This comment was marked as outdated.
Collaborator
Contributor
|
I would like an actual wrapper. I.e. something that returns a number. |
araujogui
force-pushed
the
sqlite-statement-returns-data
branch
from
November 23, 2026 17:09
cc45eb0 to
5f9a9e6
Compare
louwers
approved these changes
Nov 23, 2026
Contributor
|
Thanks! Makes more sense to me since you can still do if (stmt.columnCount) |
geeksilva97
approved these changes
Nov 23, 2026
Add a getter to `Statement` that returns the number of columns in the prepared statement's result set, wrapping `sqlite3_column_count()`. Fixes: nodejs#67352 Assisted-by: Claude Code Signed-off-by: Guilherme Araújo <arauujogui@gmail.com>
araujogui
force-pushed
the
sqlite-statement-returns-data
branch
from
November 24, 2026 14:34
5f9a9e6 to
5d16ad0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
statement.columnCountgetter that returns the number of result columns of a prepared statement, wrappingsqlite3_column_count().columnCount > 0tells whether the statement returns data.Fixes: #67352