db.listCommands()

  • db.listCommands()
  • Provides a list of all database commands. See theDatabase Commands document for a more extensive index ofthese options.