I have data like so:
{
"_id": ObjectId("4fc3abc9751c38c811000002"),
"timeStamp": ISODate("2012-05-28T16: 45: 58.0Z"),
"loadTime": 2.3101460933685,
"description": {
"0": {
"level": NumberInt(0),
"description": "Some description"
}
},
How do I find() the "level" data using the array of 0-8 like in my query below?
My query looks like this:
find(Array ( [description] => Array ( [0] => Array ( [level] => Array ( [$in] => Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 [7] => 7 [8] => 8 ) ) ) ) ) )