Working on my pet project I ran into an issue where the data coming for mongo needed to be prepped for client-side view.
Traditionally, if it was an RDBMS, we could use a “group by” query.
Image may be NSFW.Clik here to view.

Working on my pet project I ran into an issue where the data coming for mongo needed to be prepped for client-side view.
Traditionally, if it was an RDBMS, we could use a “group by” query.
Image may be NSFW.