Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /
Diagnostic Commands

listCommands

listCommands

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

db.runCommand( { listCommands: 1 } )

Back

isSelf