4 ms·
This still seems to have the problem that the first term behaves differently from the others, and is hence inconvenient for editing operations. FWIW with SQL m
by stevage 1y ago
This still seems to have the problem that the first term behaves differently from the others, and is hence inconvenient for editing operations.
FWIW with SQL multi-line booleans, I tend to do:
WHERE TRUE
AND something
AND something_else
- kragen 1y agoYes, I agree. That's a nice trick! It's more verbose, which is a tradeoff, maybe a bad one. Too bad `,` doesn't have an identity element the way `and` does, so this doesn't solve the problem in JSON.