10
Given the example doc below:
{
"_id" : "2",
"objects" : [{
"_id" : "1",
"name" : "embedded "
},{
"_id" : "2",
"name" : "embedded "
},{
"_id" : "3",
"name" : "embedded "
}],
"name" : "gloss2"
}
Is it possible to return only one subdocument? That way I don't have to select the whole parent object, get the list, and loop through the list to get the object in question.
{
"_id" : "2",
"name" : "embedded"
}