In this post, we will see a comprehensive list of all the MongoDB commands you will ever need as a MongoDB beginner. This list covers almost all the most used commands in MongoDB.
Database Commands
- View all databases
show dbs
- Create a new or switch databases
show dbs
- View current Database
db
- Delete Database
db.dropDatabase()
These are the basic Database Commands of MongoDb.
Top comments (0)