Y
Hacker News
new
|
ask
|
show
|
jobs
by
dangayle
4601 days ago
That's what the aggregation framework is great for. I don't have the code handy, but the free MongoDB for Developers course covers almost this exact use case.