db.listCommands()
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
db.listCommands()
Provides a list of all database commands. See the Database Commands document for a more extensive index of these options.