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

Huh, I've always used "WHERE 1 = 1 AND ...". Using `true` looks more clean.


Not all sql variants support "true". e.g. SQL Server doesn't.




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

Search: