Re:Show HN: PRQL 0.2 – a better SQL
by ivank on Monday June 27, 2022 @04:44PM
(#31900537)
You can retain foreign key constraints by having one column per type of reference. It is also possible to ensure that exactly one column of several is NOT NULL, so that the columns can always be mapped to an enum in application code. Also, in PostgreSQL, the storage for the extra NULLs uses just one bit per column in a bitmap.
[ Parent
| on HN ]
There are no comments on this comment yet.