listCommands
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
listCommands
The
listCommands
command generates a list of all database commands implemented for the currentmongod
ormongos
instance.db.runCommand( { listCommands: 1 } )