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

remove() is a deprecated function #41

Open
oneil213 opened this issue May 8, 2020 · 0 comments
Open

remove() is a deprecated function #41

oneil213 opened this issue May 8, 2020 · 0 comments

Comments

@oneil213
Copy link

oneil213 commented May 8, 2020

After taking your course on youtube, I used the remove() function and I noticed all the items on the list get deleted. Then I did a little read up and saw that remove() is a deprecated function and has been replaced by deleteOne() (to delete a single document). I updated my code and it was fine. Thought you should know. Thanks!

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