-
-
Save johndowns/524a6ee68afb9f726a4ebc4205b7c818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT udf.getCustomerId(c) | |
FROM c | |
WHERE c.type = 'order' AND ARRAY_CONTAINS(c.items, { "productId": @productId }, true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment