On this page
listCommands
listCommands-
The
listCommandscommand generates a list of all database commands implemented for the currentmongodormongosinstance.db.runCommand( { listCommands: 1 } )
listCommands
The listCommands command generates a list of all database commands implemented for the current mongod or mongos instance.
db.runCommand( { listCommands: 1 } )