vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function MongoDatabase.runCommand

Generic means to run commands on the database.

Bson runCommand(T) (
  T command_and_options
);

See http://www.mongodb.org/display/DOCS/Commands for a list of possible values for command_and_options.

Parameters

NameDescription
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

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.