September 2017
Intermediate to advanced
450 pages
11h 24m
English
| Command | Examples | Description |
| help | help, help admin, help connect, help keys, help misc, help mr | Provides help for the different commands accessible in mongo shell. |
| use | use mean-db, use <name> | Sets the active database within the current mongo shell. |
| show | show dbs, show collections, show users, show profile, show logs, show log <name> | Show lists of types of available content within the mongo shell. |
| exit | exit | Exits the mongo shell. |
| db | db.posts.insert(<json>), db.<name>.<command> | Allows you to use commands to interact with the currently active database. |
Most of our interactions with MongoDB moving forward will be in Express through Mongoose. However, if you are interested in learning more about what you ...
Read now
Unlock full access