Using a query for Cosmos, how do I select out all Roles that have an ID of '11'?
{
"Roles":[
{
"Name":"Admin",
"ID":[
"11",
"22",
"33"
]
},
{
"Name":"User",
"ID":[
"11"
]
}
]
}
I think it sort of looks like this but not sure about the where clause...
select value r from c join r in c.Roles join i in r.ID // where i = ??