Set the batchSize for the getMoreCommand when iterating over the query results.
You can put a $comment field on a query to make looking in the profiler logs simpler.
Explain the query instead of returning the data.
The fields to return in the query. Object of fields to include or exclude (not both), {'a':1}.
Tell the query to use specific indexes in the query. Object of indexes to use, {'_id':1}.
Sets the limit of documents returned in the query.
Set index bounds.
Limit the number of items to scan.
Number of milliseconds to wait before aborting the query.
Set index bounds.
Specify if the cursor should return partial results when querying against a sharded system.
Return document results as raw BSON buffers.
The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
Only return the index key.
Show disk location of results.
Set to skip N documents ahead in your query (useful for pagination).
Snapshot query.
Set to sort the documents coming back from the query. Array of indexes, [['a', 1]] etc.
Specify if the cursor is tailable.
Specify if the cursor can timeout.
Generated using TypeDoc
MongodbFindOneOptions.
http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#findOne