Introduction to MongoDb with .NET part 24: aggregations continued
May 6, 2016 Leave a comment
Introduction
In the previous post we looked at our first aggregation example. We grouped the zipcodes collection by state and number of inhabitants in each state. A grouping stage is represented by the $group operator and it’s followed by a number of arguments. We went through the process that MongoDb performs to produce the final set of documents. Essentially it performs a series of upsert operations on the starting collection.
In this post we’ll look at some other query examples.