Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

db.commandHelp()

On this page

Description

db.commandHelp(command)

Displays help text for the specified database command. See the Database Commands.

The db.commandHelp() method has the following parameter:

Parameter Type Description
command string The name of a database command.