Answers for "mongo shell change db"

0

mongo shell change db

# Change DB - also sets the mongo shell variable 'db' to the current database
use <db_name>

# Show DB list
show dbs
Posted by: Guest on September-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language