Specify a journal write concern.
A primary key factory object for generation of custom _id keys.
Return document results as raw BSON buffers.
Specify a read concern for the collection. (only MongoDB 3.2 or higher supported).
The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
Serialize functions on any object.
Returns an error if the collection does not exist.
The write concern.
The write concern timeout.
Generated using TypeDoc
Creates a new Db instance.
http://mongodb.github.io/node-mongodb-native/2.1/api/Db.html#collection