Re:Against SQL
by goto11 on Saturday July 10, 2021 @10:29AM
(#27793553)
If you put the foreign keys on the table_a/b/c tables, then you can express the same without having to introduce tagged unions.
[ Parent
| on HN ]
Re:Against SQL
by laszlokorte on Saturday July 10, 2021 @10:34AM
(#27793585)
As I said in response to a sibling:
But can you can not (in a simple way) prevent that both a circle and a triangle point to the same user and you can not enforce a NOT NULL for a user to must have a favourite shape.