Reputation: 166
I have docs like:
{
"products": [
{
"uid": "aside-11kka-asdm12-asdjl"
"price": 123,
"count": 123
}
]
}
And I want to group this into array of products, using aggregation (product uids can be repeated in another object)
Upvotes: 2
Views: 2065