Show collections in the current database
List all databases
Connect to a MongoDB server
Display all databases on the server
show dbs
Shows all databases on the connected MongoDB instance. Useful to check existing databases.
Switch to a specific database
Add a single document to a collection