You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 29, 2021. It is now read-only.
In Mongoose model I am using schemaOptions timestamps: true to enable the mongo to record the createdAt and updatedAt timestamps. I was under impression that createdAt will always remain same and will not change after update operations but it keeps on changing same as updatedAt even after update. Any suggestions on how to correct it?
In Mongoose model I am using schemaOptions timestamps: true to enable the mongo to record the createdAt and updatedAt timestamps. I was under impression that createdAt will always remain same and will not change after update operations but it keeps on changing same as updatedAt even after update. Any suggestions on how to correct it?