Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
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