Docs Home → MongoDB Manual
listCommands
The listCommands command generates a list of all database commands implemented for the current mongod or mongos instance.listCommands命令生成为当前mongod或mongos实例实现的所有数据库命令的列表。
mongod
mongos
db.runCommand( { listCommands: 1 } )