{{ message }}
sqlite: add setReturnArrays method to StatementSync#57542
Merged
nodejs-github-bot merged 15 commits intonodejs:mainfrom Apr 4, 2025
Merged
sqlite: add setReturnArrays method to StatementSync#57542nodejs-github-bot merged 15 commits intonodejs:mainfrom
nodejs-github-bot merged 15 commits intonodejs:mainfrom
Conversation
Collaborator
geeksilva97
reviewed
Mar 19, 2025
Member
|
Cc @nodejs/cpp-reviewers |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #57542 +/- ##
==========================================
+ Coverage 90.24% 90.25% +0.01%
==========================================
Files 630 630
Lines 184990 185042 +52
Branches 36214 36232 +18
==========================================
+ Hits 166941 167008 +67
+ Misses 11002 10996 -6
+ Partials 7047 7038 -9
🚀 New features to boost your workflow:
|
cjihrig
reviewed
Mar 19, 2025
Contributor
|
Oh, and this needs documentation. |
anonrig
reviewed
Mar 19, 2025
Member
Author
|
I'll add docs once the code is approved |
Contributor
|
I've opened #57569 to refactor the iterator implementation. I think we should land that PR before this one so that we can avoid exposing iterator internal state to JS. |
Contributor
|
This needs a rebase, but we can finally move this forward. |
Member
Author
|
Yep, will rebase asap |
Collaborator
|
Landed in 054371d |
JonasBa
pushed a commit
to JonasBa/node
that referenced
this pull request
Apr 11, 2025
PR-URL: nodejs#57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
May 1, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
May 2, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 6, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 6, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
May 14, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 16, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 17, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 17, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 17, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 18, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
aduh95
pushed a commit
that referenced
this pull request
May 19, 2025
PR-URL: #57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Member
aduh95
pushed a commit
to geeksilva97/node
that referenced
this pull request
Jul 17, 2025
PR-URL: nodejs#59074 Refs: nodejs#57542 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
5 tasks
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.

Add a new StatementSync method setReturnArrays() that allows query results to be returned as arrays instead of objects. This is more efficient when column names are meaningless, auto-generated, or when working with hundreds of columns.
Fixes #57534
It's my first significant C++ PR, hopefully first of many :)