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.
Signal that we desire an increment of this documents version.
Override whether mongoose thinks this doc is deleted or not
whether mongoose thinks this doc is deleted.
Returns another Model instance.
model name
Generates random mark and renres according template for the given student. Note that this method doesn't update any DB data, you have to update Student score manually, based on the returned data.
Type of ativity to generate mark for.
Name of the target student, who gets a mark.
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]