0% found this document useful (0 votes)
10 views

MongoDB Compass

MongoDB Compass is a GUI application for writing and executing MongoDB commands, available for download from the official MongoDB website. After installation, users can create a connection string to connect to their MongoDB server, allowing them to manage databases and documents easily. The application supports CRUD operations through a user-friendly interface, enabling users to insert, edit, and query data efficiently.

Uploaded by

ubaidalhaideri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

MongoDB Compass

MongoDB Compass is a GUI application for writing and executing MongoDB commands, available for download from the official MongoDB website. After installation, users can create a connection string to connect to their MongoDB server, allowing them to manage databases and documents easily. The application supports CRUD operations through a user-friendly interface, enabling users to insert, edit, and query data efficiently.

Uploaded by

ubaidalhaideri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

MongoDB Compass

• MongoDB provides a GUI based application for writing and


executing MongoDB commands.
• And this GUI application is called as MongoDB Compass.
• You can download this GUI application from the MongoDB’s
official website: https://www.mongodb.com/

Here you can see that, under tools menu, we have Compass.
Download the MongoDB Compass from here for your respective
Operating System

• Download the msi package


• And follow the necessary installation steps to get started with
MongoDB compass.
After successful installation the interface would look something like:

After successful installation you can create a new connection string.

This default provided string is for local installation of MongoDB.


If in case your MongoDB database is hosted on a remote server you will
be providing connection string for that remote server here.
After clicking on connect you’ll be connecting to the MongoDB server
which is installed locally on your machine. And there you can see the
databases that you created using Mongo shell.
In my case I have made many for demonstration purposes:
Database

Documents

Collection

To add a new document in this data using GUI application we have two
ways to insert the data:
Either add a Json like file or insert the document using the insert
document option.

Same you can do for edit by clicking on the pencil icon and
change/update the required fields.
You can also query your collection by using the below feature:

Demonstrating the use of filter


That’s how efficient and useful MongoDB compass is !.. to perform the
CRUD operations.

You might also like