MongoDB | Getting Started
All commands mentioned need to be run on mongo shell 1) To see list of database show dbs It will show list of Databases along with the size. If a databse is empty, it won’t be shown by the command. 2) To use a database use databaseName It will switch to the databaseName databse (If database won’t exists, it will create one) 3) To see which database is in use db...