filmov
tv
How to install MongoDB 6.0.3 on Windows 11 | Install MongoDB 6.0.3 & Mongo Shell
Показать описание
In this video, I am going to show How to Install MongoDB 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
4. MongoDB - Create Collection
5. MongoDB-Create Document.
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
8. MongoDB - Query Document
9. To display the results in a formatted way, you can use pretty method.
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
4. MongoDB - Create Collection
5. MongoDB-Create Document.
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
8. MongoDB - Query Document
9. To display the results in a formatted way, you can use pretty method.