Details
-
Improvement
-
Resolution: Fixed
-
Major
-
6.5.0
Description
Currently, the function ARRAY_CONTAINS supports a match of a single element in an array. If I need to check if an array is contained inside another array, the syntax ends up being awkward:
ARRAY_LENGTH( ARRAY_INTERSECT( [1,2], [1,2,3,4,5])) = 2
Ideally, we should have a simpler function:
ARRAY_CONTAINS_ALL([1,2], [1,2,3,4,5])