Working with MongoDB in .NET (Part 3): Skip, Sort, Limit, & Projections

So far we've looked at creating documents , retrieving document, and now let's look into sorting documents, specifying the number of documents to skip or limit, and how to do projections. Limit When we query for a document, we sometimes don't want to return all of the documents that matches our filter criteria, just some … Continue reading Working with MongoDB in .NET (Part 3): Skip, Sort, Limit, & Projections

Working With MongoDB in .NET Part 2: Retrieving Documents with Filter Clause

In the previous part we went through some of the driver basics and how to insert documents to a collection. In this part of the series, we'll learn how to retrieve documents from the database. Any document belongs to a collection, therefore all CRUD operations have the scope of a single collection. To retrieve documents … Continue reading Working With MongoDB in .NET Part 2: Retrieving Documents with Filter Clause