Docs Menu

db.commandHelp()

On this page

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.

On this page