Re:EdgeDB 2.0
by sedatk on Thursday July 28, 2022 @05:10PM
(#32270153)
Why's NOT NULL a problem? ("required property" syntax is already in quickstart examples)
[ Parent
| on HN ]
Re:EdgeDB 2.0
by RedCrowbar on Thursday July 28, 2022 @05:29PM
(#32270340)
I think the OP meant `NOT NULL` as in nullness check in queries. EdgeQL uses `exists <foo>` to check for existence of data. We have examples in the cheatsheet and elsewhere but it's probably hard to find if you're looking for "NOT NULL" specifically. We'll see about a way to improve the discoverability of this.