I am using cosmosdb on azure
In that I am using mongodb api
I have a "request" collection inside that there is a "claims" array
If I use this command:
db.getCollection('requests').find({"claims.id": 1002})
It is not working in cosmosdb mongo api but working for local mongo service instance I have hosted.
my request object is as below
{
"_id" : NumberLong(1001),
"claims" : [ {
"type" : "broadband",
"id" : NumberLong(1002),
"createdOn" : NumberLong(1462799667905)
} ]
}