Navigation
This version of the documentation is archived and 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.