Docs Menu

Docs HomeMongoDB 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()db.createCollection() →

On this page