Docs Home → MongoDB Manual
db.listCommands()
Provides a list of all database commands. 提供所有数据库命令的列表。See the Database Commands document for a more extensive index of these options.有关这些选项的更广泛索引,请参阅数据库命令文档。