{
"_id": NumberInt(13),
"name": "vishal",
"friends": [
{
"name1": "vini",
"count": NumberInt(213)
},
{
"name1": "sumesh",
"count": NumberInt(47)
}],
"blog": NumberInt(5)
}
i need to display the name,name1 of all doc & blog in php , using foreach()
i got the parent document "name" but dint get name1& blog ?