Properties
_createdAt
_createdAt: Date
_createdBy
_createdBy: ObjectId
_updatedAt
_updatedAt: Date
_updatedBy
_updatedBy: ObjectId
appId
appId: null | ObjectId = null
emailCode
emailCode: string = ''
emailValidated
emailValidated: boolean = false
expires
expires: Date = ...
extraData
extraData: null
filesToRemove
filesToRemove: string[] = ...
mobileCode
mobileCode: string = ''
mobileValidated
mobileValidated: boolean = false
request
request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
response
response: Response<any, Record<string, any>>
userCreated
userCreated: boolean = false
Static collectionName
collectionName: string = 'data'
Compare the element that was retrieve from the database and only update keys that have been changed since