Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This will produce broken SQL on empty clauses list. Very strange.


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.


The easiest fix for this is the "WHERE 1=1" or "WHERE true"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: