Function MongoDatabase.runCommand
Generic means to run commands on the database.
See http://www.mongodb.org/display/DOCS/Commands for a list of possible values for command_and_options.
Parameters
Name | Description |
---|---|
command_and_options | Bson object containing the command to be executed as well as the command parameters as fields |
Returns
The raw response of the MongoDB server