In list
Membership comparison.
Returns true when the left operand matches any element in the right-hand list or array.
Category: comparison
SQL symbol: IN
Example
SELECT b'0102' IN ARRAY[1,2];
Signatures
blob IN array→ booleanboolean IN array→ booleandate IN array→ booleandecimal IN array→ booleandouble IN array→ booleaninteger IN array→ booleantimestamp IN array→ booleanvarchar IN array→ boolean
Types
- Left: blob, boolean, date, decimal, double, integer, timestamp, varchar
- Right: array
- Result: boolean