intermine / intermine/intermine-registry
Update Mongoose API Methods currently used for Database Queries
Open
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Most of the Mongoose API methods such as `find()`, `remove()` which are currently used inside of the Registry's route handlers are deprecated, as shown in the terminal when some of the endpoints are being called:

We can use the newer methods available in the latest version of Mongoose API such as `findOne()`, `findOneAndDelete()`, `insertMany()` and so on.
(More information on the latest API methods can be found [here](https://mongoosejs.com/docs/api/model.html))
I would like to work on this issue.
Contributor guide
Assessment
This issue has not been assessed yet.