Repository navigation
Conversation
SRombauts
added a commit
that referenced
this pull request
Oct 24, 2026
Add the new nullable value accessor to the 4.0 changelog (#614).
SRombauts
added a commit
that referenced
this pull request
Oct 24, 2026
Add the new nullable value accessor to the 4.0 changelog (#614).
SRombauts
force-pushed
the
feature-column-get-optional
branch
from
October 24, 2026 16:58
cea0a93 to
34cfa6d
Compare
SRombauts
added a commit
that referenced
this pull request
Oct 24, 2026
Add the new nullable value accessor to the 4.0 changelog (#614).
SRombauts
force-pushed
the
feature-column-get-optional
branch
from
October 24, 2026 17:25
34cfa6d to
723c14b
Compare
Return std::nullopt for SQL NULL and reuse existing value conversions otherwise. Cover NULL, zero, empty strings and BLOBs, embedded NUL bytes, and borrowed pointer and view types.
Distinguish owned strings from borrowed pointers and views, including optional values and their lifetime constraints.
Add the new nullable value accessor to the 4.0 changelog (#614).
SRombauts
force-pushed
the
feature-column-get-optional
branch
from
October 24, 2026 18:52
723c14b to
c8c4468
Compare
This branch has not been deployed
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 C++17
Column::getOptional<T>()accessor that returnsstd::nulloptfor SQL NULL and otherwise uses existing column conversions. Cover zero, empty values, pointers, embedded NUL bytes, and borrowed views. This does not changegetColumns()or add implicit optional conversions; follow-up to #521 and #612.