Create an index on the _id field of the document, True by default on MongoDB 2.2 or higher off for version < 2.2.
Create a capped collection.
Specify a journal write concern.
The maximum number of documents in the capped collection.
A primary key factory object for generation of custom _id keys.
Return document results as raw BSON buffers.
The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
Serialize functions on any object.
The size of the capped collection in bytes.
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#createCollection