Using mongosh
mongosh is the interactive shell.
Example
mongosh
show dbs
use school
db.stats()Exercise
Open the shell.
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.
mongosh is the interactive shell.
mongosh
show dbs
use school
db.stats()Open the shell.
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.