"age"
and Value 20
, will return a list containing all objects in the list whose age
property is 20
, or an empty list if no matching objects were found.SELECT_BY_KEY(array1, "a", 2)
[{"a":2},{"a":2,"b":3}]
SELECT_BY_KEY(array2, "a", { b: 10 })
[{"a":{"b":10}}]
SELECT_BY_KEY(array, "a", 4)
[]