Comment by adrian17
1 month ago
Couldn't the first example be better done by having a Plan enum type? It'd both be a little more lightweight than text, and better at handling bad queries (mistyped filter resulting in error instead of empty result set).
No comments yet
Contribute on Hacker News ↗