Read Data in MongoDB
Overview
In this guide, you will learn how to retrieve data from MongoDB.
Time required: 10 minutes
What You'll Need
A connection string to your MongoDB deployment.
Sample datasets loaded into your cluster.
Procedure
1
Connect to your MongoDB instance.
In this code block there is a comment to replace the connection URI with your own. Make sure to replace the URI string with your Atlas connection string.
2
Summary
If you successfully completed the procedure in this guide, you have retrieved data from MongoDB.
In the next guide, you'll learn how to retrieve data from MongoDB using criteria.
See Also
For other CRUD guides:
What's Next
Read Data from MongoDB With Queries
15 mins
Use a query to specify which documents to retrieve documents in MongoDB.
Start Guide