Skip to content

Conditional OR operator. Checks whether either condition is true.

or_(<expr1>[, <expr2> ...])
or_(
table.color == 'green',
table.shape == 'circle',
table.price >= 1.25
)
<expr1> OR <expr2>
SELECT * FROM table WHERE
table.color = 'green'
OR table.shape = 'circle'
OR table.price >= 1.25;