Hacker News new | ask | show | jobs
by brycelarkin 1102 days ago
The article misses the most common way to represent enums: foreign keys…
1 comments

Foreign keys have a different set of tradeoffs. We'd have to either look enum values up before making the query, or use a join that might affect query plan.