Base Mongoose instance the model uses.
If this is a discriminator model, baseModelName is the name of the base model.
Collection the model uses.
Connection the model uses.
Registered discriminators for this model.
Virtual getter that by default returns the document's _id field cast to a string, or in the case of ObjectIds, its hexString. This id getter may be disabled by passing the option { id: false } at schema construction time. If disabled, id behaves like any other field on a document and can be assigned any value.
The name of the model
Schema the model uses.
Override whether mongoose thinks this doc is deleted or not
whether mongoose thinks this doc is deleted.
Signal that we desire an increment of this documents version.
Returns another Model instance.
model name
Removes this document from the db.
optional callback
Saves this document.
options optional options
optional callback
Generated using TypeDoc
Version using default version key. See http://mongoosejs.com/docs/guide.html#versionKey If you're using another key, you will have to access it using []: doc[_myVersionKey]