Navigation
This version of the manual is no longer supported.

db.runCommand()

db.runCommand(command)
Parameters:

Provides a helper to run specified database commands. This is the preferred method to issue database commands, as it provides a consistent interface between the shell and drivers.