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
If I insert an empty array or an empty document into a boolean field, I would expect that the value of that field will be false. Exactly the same way as with empty strings.
What do you think?
genji> CREATE TABLE test(a bool, b bool, c bool);
genji>INSERT INTO test VALUES {a: "", b: [], c: {}};
genji>SELECT*FROM test;
{
"a": false,
"b": true,
"c": true
}
The text was updated successfully, but these errors were encountered:
If I insert an empty array or an empty document into a boolean field, I would expect that the value of that field will be
false
. Exactly the same way as with empty strings.What do you think?
The text was updated successfully, but these errors were encountered: