Hacker News new | ask | show | jobs
by lmm 1444 days ago
No, it's a specific problem of SQL that you can apply constraints to stored or quasistored columns but not to expressions. In a real typed language every expression has a type.