-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Wont work with .insertMany #7
Comments
I'll check out soon. Thank you for noticing this |
Looks like the hooks called during insertMany are not useful to increment the counter (you can look Automattic/mongoose#3846). I'll look if there is another way to achieve this. |
Meanwhile I added a test for this feature the you can find in this commit |
Another reference here. |
It's a nice solution. Thank you for checking it out. |
Like title, it wont work with .insertMany
Can you check it out?
The text was updated successfully, but these errors were encountered: