Should orpreconditions be short circuited?
As it is, you cannot have pre-conditions like “only run if this table is missing OR, if it exists, check that it contains a particular record”.
e.g.
-
SELECT MAX(id)
FROM some_table
However, if orprecondition’s were short-circuit and evaluated in the order that they appear, then once one condition evaluates to true, you do not need to continue evaluating other conditions in the or block.