I have a mongodb document in this format. There are multiple collections of arrays as given here. How do I get all elements where SID = 100.
{
"_id" : "123456",
"Continent" : {
"Country" : [
[
US,
{
"State" : [
[
100,
{
"Product" : "Corn",
"SID" : 100
}
],
[
200,
{
"Product" : "Maze",
"SID" : 200
}
]
],
}
]
],
},
}