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!
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!