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

DeprecationWarning: collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead. #300

Closed
KSH-code opened this issue Sep 18, 2018 · 2 comments · Fixed by #301

Comments

@KSH-code
Copy link
Contributor

i got this warning
DeprecationWarning: collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead.
with "mongoose": "^5.2.15",

@Igor-Lopes
Copy link

Any updates on this issue and PR ?

@alanosman
Copy link

alanosman commented Nov 13, 2018

Yup - we are seeing this too and traced it to here after updating all our mongo calls to updateOne, deleteOne etc.

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

Successfully merging a pull request may close this issue.

3 participants