The proposed feature would allow nullable column values to be represented as Option fields within a user's row structure. For example, if you have this table with the nullable column optional_value:
CREATE TABLE sometable (
id INTEGER NOT NULL,
value, TEXT NOT NULL,
optional_value INTEGER,
PRIMARY KEY (id)
);
The proposed feature would allow nullable column values to be represented as
Option
fields within a user's row structure. For example, if you have this table with the nullable columnoptional_value
:You could then represent the row as:
The following query would then work as expected:
Currently, the above query will result in a runtime error if any row has a value set in the
optional_value
column: