You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a column which is both nullable and has a default value, it should be possible to set 3 different values:
A value
NULL
The default value
In the insert SQL, that would equate to:
SQL containing a value
SQL containing an explicit NULL
SQL with the field missing
As far as I can tell in exposed there's no way to express the third variant and so it's impossible to get a default value. Am I missing a setting somewhere or are you using NULL to indicate both the absence of data and null data?
For a column which is both nullable and has a default value, it should be possible to set 3 different values:
In the insert SQL, that would equate to:
As far as I can tell in exposed there's no way to express the third variant and so it's impossible to get a default value. Am I missing a setting somewhere or are you using NULL to indicate both the absence of data and null data?
Thanks!
The text was updated successfully, but these errors were encountered: