db.listCommands()

db. listCommands ( )

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