Deprecated method info

What is your hint or solution suggestion?
This method is deprecated.
See Deprecation Warnings for details.

I recommend including this information in the context and updating the challenge with using deleteMany.

If you are using replit to pass the challenge, check the versions of the packages in the package.json file.

The versions should be as follows;

     "mongodb": "^3.0.0",
     "mongoose": "^5.6.5" 

Have a nice day! :slight_smile:

Challenge: Delete Many Documents with model.remove()

Link to the challenge:

https://www.freecodecamp.org/learn/apis-and-microservices/mongodb-and-mongoose/delete-many-documents-with-model.remove

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.