コンテンツにスキップ

条件の論理和(OR)演算子です。いずれかの条件が真かどうかを確認します。

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;