If the database authentication is dependent on another databaseName.
Sets a cap on how many operations the driver will buffer up before giving up on getting a working connection, default is -1 which is unlimited.
Force server to assign _id values instead of driver.
Specify if the BSON serializer should ignore undefined fields.
Specify a journal write concern.
The current value of the parameter native_parser.
A primary key factory object for generation of custom _id keys.
A Promise library class the application wishes to use such as Bluebird, must be ES6 compatible.
Promotes Long values to number if they fit inside the 53 bits resolution.
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.
The write concern.
The write concern timeout.
Generated using TypeDoc
Options for Db class.
http://mongodb.github.io/node-mongodb-native/2.1/api/Db.html