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

Improve hooks documentation #4233

Closed
Jokero opened this issue Jun 14, 2016 · 0 comments
Closed

Improve hooks documentation #4233

Jokero opened this issue Jun 14, 2016 · 0 comments
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@Jokero
Copy link
Contributor

Jokero commented Jun 14, 2016

From here http://mongoosejs.com/docs/middleware.html:

Document middleware is supported for the following document functions.
* init
* validate
* save
* remove

But Model.create() will execute save hooks too. Maybe there is something else but I saw only this

@vkarpov15 vkarpov15 added this to the 4.5.1 milestone Jun 16, 2016
@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

No branches or pull requests

2 participants