mongodb / v3.6 / reference / reference-method-db.listCommands.html

db.listCommands()

db. listCommands ( )

Provides a list of all database commands. See the Database Commands document for a more extensive index of these options.