Docs Menu
Docs Home
/
MongoDB Manual
/ / /

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.
← db.aggregate()

On this page