Y
Hacker News
new
|
ask
|
show
|
jobs
by
egormakarov
635 days ago
This will produce broken SQL on empty clauses list. Very strange.
1 comments
freilanzer
635 days ago
You're quite right, but this is easily fixed. That doesn't change my question, since something like this is much easier that the other logic.
link
paperplatter
634 days ago
The easiest fix for this is the "WHERE 1=1" or "WHERE true"
link