Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updatedAt is not updating after any document get updated. #54

Open
GautamSulok opened this issue Apr 4, 2024 · 1 comment
Open

updatedAt is not updating after any document get updated. #54

GautamSulok opened this issue Apr 4, 2024 · 1 comment

Comments

@GautamSulok
Copy link

No description provided.

@GautamSulok
Copy link
Author

updatedAt is not updating after any document get updated.
example my query

User.findByIdAndUpdate(id, { last_login: new Date() }).exec()

@GautamSulok GautamSulok changed the title when i do update to docement, field updatedAt not updated with current Date time. example my query User.findByIdAndUpdate(id, { last_login: new Date() }).exec() updatedAt is not updating after any document get updated. Apr 4, 2024
@GautamSulok GautamSulok changed the title updatedAt is not updating after any document get updated. updatedAt is not updating after any document get updated. Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant