Docs Menu

listCommands

listCommands

The listCommands command generates a list of all database commands implemented for the current mongod or mongos instance.

db.runCommand( { listCommands: 1 } )
←  isSelflockInfo →
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.