MongoDB Shell Basics

use [database name] Creates or switches to use a database, db becomes the variable to reference the current database show dbs List all databases db.[collection_ »