Docs Menu

listCommands

On this page

  • Definition
  • Syntax
listCommands

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

The command has the following syntax:

db.runCommand(
{
listCommands: 1
}
)
←  isSelflockInfo →

On this page

Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.