-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
src,sqlite: refactor value conversion #59659
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
base: main
Are you sure you want to change the base?
src,sqlite: refactor value conversion #59659
Conversation
Review requested:
|
a7b35e6
to
c64a47e
Compare
c64a47e
to
45b12c8
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #59659 +/- ##
==========================================
- Coverage 89.91% 89.87% -0.04%
==========================================
Files 667 667
Lines 196600 196777 +177
Branches 38601 38622 +21
==========================================
+ Hits 176780 176863 +83
- Misses 12269 12361 +92
- Partials 7551 7553 +2
🚀 New features to boost your workflow:
|
Looking good. Is it worth doing the same with the column keys extraction? Obviously it wouldn't deduplicate anything now, but presumably would do if an async API were added? |
Your assumption is correct. I can address this in the async api PR |
Commit Queue failed- Loading data for nodejs/node/pull/59659 ✔ Done loading data for nodejs/node/pull/59659 ----------------------------------- PR info ------------------------------------ Title src,sqlite: refactor value conversion (#59659) Author Edy Silva <[email protected]> (@geeksilva97) Branch geeksilva97:refactor-sqlite-value-conversion -> nodejs:main Labels c++, author ready, commit-queue-squash, sqlite Commits 2 - src,sqlite: refactor value conversion - src: use Maybe instead of std::optional Committers 1 - Edy Silva <[email protected]> PR-URL: https://github.com/nodejs/node/pull/59659 Reviewed-By: Anna Henningsen <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/59659 Reviewed-By: Anna Henningsen <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Thu, 28 Aug 2025 03:53:32 GMT ✔ Approvals: 1 ✔ - Anna Henningsen (@addaleax): https://github.com/nodejs/node/pull/59659#pullrequestreview-3171578413 ✘ This PR needs to wait 83 more hours to land (or 0 hours if there is one more approval) ✔ Last GitHub CI successful ℹ Last Full PR CI on 2025-08-31T14:06:05Z: https://ci.nodejs.org/job/node-test-pull-request/68973/ - Querying data for job/node-test-pull-request/68973/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/17359749713 |
This PR refactors
SatetmentSync::All
andStatementSyncIterator::Next
methods to reduce complexity.This will make it a lot easier to move forward with the implementation of the async api for node:sqlite