Navigation
This version of the manual is no longer supported. 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.