robbiblubber.org

help | login | search:  
<<

Home Page
Index

Projects

Utility Suite
Data Suite
Bad Wolf Suite
WeakWiki

User Docs

ConfigNotepad
LED
rqoon
Nuub

Code Docs

.NET
Java
PHP

robbiblubber.org

Specs
Articles

Sources















read  source  history 


= runCommand() =
----
[[MongoDB Driver Function Reference]]


Executes a [[https://docs.mongodb.com/manual/reference/command/|database command]].
More information can be found in the corresponding entry of the [[https://docs.mongodb.com/manual/reference/method/db.runCommand/index.html|MongoDB Manual]].


[[[@cG

db.runCommand(<command>])

]]]


**Arguments**

[[[@w

|@t0@r0@c0 <command> | | A document specifying a database command. |

]]]


**Return Value**

[[[@w

Returns a result set (cursor).

]]]


**Example**

[[[@cw

db.runCommand({count: "employees"});

]]]

Executes a count database command.






----
[[Main|home]] | [[MongoDB Driver Function Reference]] | [[MongoDB Driver]]