I am unable to formulate search query using IN
clause for Azure Cosmos document DB
Query
{
"query": "SELECT * FROM LOADS l WHERE l.schedulingSystem in (@schedulingSystem)",
"parameters": [
{
"name": "@schedulingSystem",
"value": "A,B"
}
]
}
I have tried providing values in single quotes "value": "'A','B'"
as well but
did not work. I am using 'x-ms-version', '2018-12-31'
header for the query
There is no error response but getting blank response (data do exist for this search criteria).
Any help or pointers are really appreciated.