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