listCommands
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.
Definition
listCommands
The
listCommands
command generates a list of all database commands implemented for the currentmongod
ormongos
instance.
Syntax
The command has the following syntax:
db.runCommand( { listCommands: 1 } )