Hacker News new | ask | show | jobs
by magicalhippo 1903 days ago
Yeah, I almost always do "where 1=1" with the actual expressions AND'ed below.

For OR, I like to keep the "1=1" and do

    AND (1=2
      OR ...
    )