Aneesha S

Aneesha S

Aneesha S writes practical guides to MongoDB, Mongoose, and Node.js. Her articles cover document queries and updates, file operations, and HTTP requests.

MongoDB Aggregation: Select Count & Group By

MongoDB Aggregation: Select Count & Group By

MongoDB aggregation allows developers to perform complex operations while working with data stored inside a collection of a MongoDB database. One of the operations is the “group by” operation, i.e. $group, which is used to group documents based on the…

Sharding in MongoDB: Explained in Detail

Sharding in MongoDB: Explained in Detail

In this tutorial, we will learn about sharding in MongoDB. It is time we learn an intermediate-level topic. Sharding in MongoDB is one such topic. Now, sharding in layman’s terms means that mechanism that stores data on multiple machines. This…

$and Operator in MongoDB – A Complete Guide

$and Operator in MongoDB – A Complete Guide

In this tutorial, I will cover the $and operator in MongoDB. So, the $and operator performs an AND operation on the given array of expressions. It eventually selects ALL the documents that matched the query. This guide aims to provide…

Using the getIndexes() Function in MongoDB

Using the getIndexes() Function in MongoDB

In this guide, I will explain how to use the getIndexes() Function in MongoDB. A list of documents describing the existing indexes in the collection includes hidden indexes, and is returned as an array by the getIndexes() function. This guide…