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

Update Mongoose API Methods currently used for Database Queries #149

Open
dmahajan980 opened this issue Feb 13, 2020 · 0 comments
Open

Update Mongoose API Methods currently used for Database Queries #149

dmahajan980 opened this issue Feb 13, 2020 · 0 comments

Comments

@dmahajan980
Copy link
Contributor

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:

dep

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)

I would like to work on this issue.

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