Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
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