Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
By now, the value of the MongoDB shell as a testing ground for experimenting with data and administering the database should be evident. But since you’ll likely be spending a lot of time in the shell, it’s worth knowing how to get help.
The built-in help commands are the first place to look. db.help() prints a list of commonly used methods for operating on database objects. You’ll find a similar list of methods for operating on collections by running db.foo.help().