Dynamically determine if a column is nullable #2444
Unanswered
sinistersnare
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am accessing a database (and querying it) completely dynamically, so no compile-time checks.
Is there a way to know if a column is
NOT NULL
typed? I can determine if a single cell is null:But is there a way to determine if their entire column can be null? I figured it would be in the
TypeInfo
struct, but like so:Is there a better way to do this than check every single cell if it is null? This feels quite wasteful.
Beta Was this translation helpful? Give feedback.
All reactions