|
I've added these two paragraphs to the wiki
Options
- host - the hostname of the machine mongod is running on (defaults to localhost)
- username - the username to use when authenticating to mongod (only use if running with auth)
- password - the password to use when authenticating to mongod (only use if running with auth)
- db - the database to authenticate to (only necessary if running with auth)
- ops - a list of objects describing the operations to run (documented below)
- parallel - the number of threads to run (defaults to single thread)
- seconds - the amount of time to run the tests for (defaults to one second)
Operation Options
- ns - the namespace of the collection you are running the operation on, should be of the form
"db.collection"
- op - the type of operation, can be "findOne", "insert", or "update"
- query - the query object to use when querying or updating documents
- update - the update object (same as 2nd argument of update() function)
- doc - the document to insert into the database (only for insert)
- safe - boolean specifying whether to use safe writes (only for update and insert)
|