listCommands

  • listCommands
  • The listCommands command generates a list of alldatabase commands implemented for the current mongod ormongos instance.
  1. db.runCommand( { listCommands: 1 } )