Properties
_createdAt
_createdAt: Date
_createdBy
_createdBy: ObjectId
_updatedAt
_updatedAt: Date
_updatedBy
_updatedBy: ObjectId
collapseKey
collapseKey: string
contentAvailable
contentAvailable: false
filesToRemove
filesToRemove: string[] = ...
openedByRegIds
openedByRegIds: string[] = ...
request
request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
response
response: Response<any, Record<string, any>>
sendToTags
sendToTags: string[] = ...
sent
sent: boolean = false
sentToRegIds
sentToRegIds: string[] = ...
viewedByRegIds
viewedByRegIds: string[] = ...
Static collectionName
collectionName: string = 'data'
Compare the element that was retrieve from the database and only update keys that have been changed since