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

Does not work with findOneAndUpdate and upsert #4

Closed
leecrossley opened this issue Jul 22, 2014 · 2 comments
Closed

Does not work with findOneAndUpdate and upsert #4

leecrossley opened this issue Jul 22, 2014 · 2 comments

Comments

@leecrossley
Copy link

No created or lastUpdated properties are populated

@perok
Copy link

perok commented Jul 29, 2014

Mongoose does not run the hooks on update operations. See Automattic/mongoose#964.

@nicholasconfer
Copy link
Owner

perok is correct, this is not supported by Mongoose. Hooks are not run here.

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

3 participants