I\'m playing around on https://www.documentdb.com/sql/demo, which allows me to query against sample documents that look like:
{
\"id\": \"19015\",
\"desc
Not sure if this functionality was available when you were looking at the API originally but the ARRAY_CONTAINS now supports an optional Boolean value at the end to provide partial match support.
SELECT root
FROM root
WHERE ARRAY_CONTAINS(root.servings, { "description": "bar" }, true)
Here is sample using the documentdb demo site that queries an array that contains multiple fields for each object stored.
SELECT *
FROM food as f
WHERE ARRAY_CONTAINS(f.servings, {"description":"bar"}, true)