Y
Hacker News
new
|
ask
|
show
|
jobs
by
adrian17
151 days 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).