db.commandHelp()
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
Description
db.commandHelp(command)
Displays help text for the specified database command. See the Database Commands.
The
db.commandHelp()
method has the following parameter:ParameterTypeDescriptioncommand
stringThe name of a database command.