ALL(...)
All functions > ARRAY > ALL(...)
Returns TRUE if all elements in the boolean array are true.
Syntax
ALL(value, value, ...)
Notes
- Returns NULL for empty arrays
- Returns FALSE if any element is false
- NULL values in array will result in NULL return value
See also
Examples
FeatureQL
SELECT
f1 := ALL(true, true, true), -- All true
f2 := ALL(true, false, true), -- Contains false
f3 := ALL(false, false, false) -- All false
;Result
| f1 BOOLEAN | f2 BOOLEAN | f3 BOOLEAN |
|---|---|---|
| true | false | false |