Problem Statement:
The employee collection in our MongoDB database contains documents with various details about employees, including their salary. For a particular maintenance task, we need to:
Perform this through MongoDB Shell as well as MongoDB Compass.
Lab Objective:
Upon completion of this lab, you will be able to:
Prerequisites
You should install following software on your machine:
In this lab, we are working with:
Database: ScholarDB
Collection: employee
Document: six documents that contain the details of employees in the form of field-value pairs.