It seems like the ARRAY_CONTAINS
function on nested documents never matches any document.
For example, trying the following simple query with the Azure DocumentDB Query Playground would return no result, even if some nested documents should match this query.
SELECT *
FROM food
WHERE ARRAY_CONTAINS(food.tags.name, "blueberries")
This past question on Stack Overflow also infered that this kind of nested query is valid.
Thank you