In this video, I am going to show How to Install MongoDB 7.0.12 Community Edition on Windows 10/11. We will also see How to Install MongoDB Shell for running queries. Also, I have shown different commands of MongoDB.
MongoDB is one of the most used, open-source document databases, and NoSQL databases. MongoDB is developed by 10gen. It is written in c++ and it is a document-oriented database. It uses the BSON format.
Useful Commands in MongoDB:
1. MongoDB - Create Database
use cscorner
2. If you want to check your databases list, use the command
show dbs
Your created database is not present in list. To display database, you need to insert at least one document into it
3. MongoDB - Drop Database
db.dropDatabase()
4. MongoDB - Create Collection
db.createCollection(name)
db.createCollection("students")
5. MongoDB-Create Document.
db.students.insert({"rollno":1,"name":"sunita"})
If the collection doesn't exist in the database, then MongoDB will create this collection and then insert a document into it.
6. MongoDB -Show Collection
show collections
7. MongoDB - Drop Collection
db.students.drop()
8. MongoDB - Query Document
db.students.find()
9. To display the results in a formatted way, you can use the pretty method.
db.mycol.find().pretty()
This tutorial will provide you a good understanding of MongoDB concepts.
This tutorial is intended for students and new developers who want to learn MongoDB Database in easy-to-understand steps. This tutorial will provide you MongoDB concepts that will help you to get started with MongoDB quickly.
------------------------------------------------------------------------
Subscribe to my Channel to learn more about Computer Programming, computer tools, and technologies.
Thanks for watching my videos till the end, if you like my work please do Like, Comment, and Share!!
-----------------------------------------------------------------------
Channel Subscription:
Playlist available on my YouTube channel:
Core Java Playlist:
Advanced Java Playlist:
Android Playlist: bit.ly/3WqeLQ3
Python Playlist:
VS Code Tutorials Playlist:
Node JS Playlist:
MySQL Playlist:
Oracle Playlist:
MongoDB Playlist:
NoSQL Playlist: bit.ly/3LotOnc
Cloud Computing Playlist MU: bit.ly/3yctJzM
Computer Network Playlist MU: bit.ly/3Y6sAVe
LIKE | SHARE | SUBSCRIBE
------------------------------------------------------------------------
Tools I used for recording
------------------------------------------------------------------------
CONNECT WITH ME ON:
►Facebook -
►Personal Facebook A/c -
►Instagram -
►Telegram -
►LinkedIn -
Watch video How to install MongoDB 7.0.12 on Windows 11 [2024] | Install MongoDB & Mongo Shell | MongoDB Compass online without registration, duration 11 minute 00 second in high hd quality. This video was added by user CS CORNER Sunita Rai 23 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1 thousand once and liked it 23 people.