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!
Challenge: Delete Many Documents with model.remove()
Link to the challenge: