05-15-2020, 09:39 AM
| 0 | 0 | ||
1- Getting Started:
Mongo Shell :
This tutorial requires you to be connected to one of the following:
MongoDB Atlas Free Tier Cluster. MongoDB Atlas is a fast, easy, and free way to get started with MongoDB. Follow the
Local MongoDB installation. For more information on installing MongoDB locally, see
Insert Documents :
Use
For more information and examples, see
Query Documents :
To select all documents in the collection, pass an empty document as the
example : [/i]
db.coll.find( { name : "value"} )
Mongo Compass :
ENJOY
Mongo Shell :
This tutorial requires you to be connected to one of the following:
MongoDB Atlas Free Tier Cluster. MongoDB Atlas is a fast, easy, and free way to get started with MongoDB. Follow the
[To see content please register here]
tutorial to get started with MongoDB Atlas.Local MongoDB installation. For more information on installing MongoDB locally, see
[To see content please register here]
.Insert Documents :
[To see content please register here]
can insert [i]multiple[To see content please register here]
into a[To see content please register here]
. Pass an array of documents to the method.Use
[To see content please register here]
to insert a single document.For more information and examples, see
[To see content please register here]
in the[To see content please register here]
section([To see content please register here]
).Query Documents :
To select all documents in the collection, pass an empty document as the
[To see content please register here]
to the[To see content please register here]
example : [/i]
db.coll.find( { name : "value"} )
Mongo Compass :
[To see content please register here]
is the GUI for MongoDB. The following tutorial uses MongoDB Compass to connect to insert data and perform query operations.ENJOY













