Introduction to MongoDB - JSON, mongodb shell, compass and Atlas
Welcome to the MongoDB Video Series. This is the first video of the MongoDB series and in this video I'll introduce you to MongoDB ecosystem which includes
1. JavaScript Object Notation (JSON)
2. MongoDB database, Collections and Documents
3. MongoDB Compass
4. MongoDB JS shell
5. MongoDB Atlas
We'll not only understand these but will also create, modify and delete documents via MongoDB JS shell as well as via MongoDB compass
#Mongodb #NoSQL #javascript #nodejs #js #mongodb compass
#mongodbatlaa #mongoshell #node
Every document in the “users” collection has a "name" and "_id". Most, but not all have a "bio". Interestingly, it looks like "pets" can be either an array or a string. The application code really only expects arrays of pets. Have we discovered a bug, or a remnant of a previous schema?
The first document created has a weird legacy key I've never seen before- the people who built the prototype didn't clean up after themselves. These rare keys, whose contents are never used, have a strong potential to confuse developers, and could be removed once we verify our findings.
For future use, results are also stored a varietyResults database.
Learn More!
Learn more about Variety now, including
• How to download Variety
• How to set a limit on the number of documents analyzed from a collection
• How to contribute, and report issues
Variety is free, open source, and written in 100% JavaScript. Check it out on Github.