Category: DoLunch

How to get the total count from nested arrays within MongoDB documents

November 18, 2013 | 0 Comments


Recently I had to query our MongoDB to find out which of our users had the most likes, dislikes and matches for some internal tracking. This was initially difficult to figure out, but helped me understand the MongoDB aggregation framework much better. It might help (but isn’t completely necessary) to read through the docs on […]
Continue Reading