0
I’m having a hard time using the aggregate
of Mongodb.
I need to pick up 5 users who collected more items.
username: 'gg_Max',
items: [
{
encrypt: "WccmGN3k6vpbfcdVuWmhTT",
results: {
collected: [
"0082",
"0012"
],
removed: []
}
}
]
in case it would be items.results.collected
take the size of the Array?