3 ms·
For the WHERE clauses one can use: WHERE 1=1 AND ... --AND ... AND ... I do not like having commas at the beginning of the lines though.
by iaskwhy 13y ago
For the WHERE clauses one can use:
WHERE 1=1
AND ...
--AND ...
AND ...
I do not like having commas at the beginning of the lines though.
- ExpiredLink 13y ago> WHERE 1=1 ORM frameworks frequently use this when they create SQL.