Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

In mongoose, how to select a specific field with find?

I'm trying to select only a specific field with Mongoose. How can I achieve this?

user-image
Question added by Hamed Mehryar , Software Engineer , Netlinks
Date Posted: 2018/09/25

The precise way to do this is it to use .project() cursor method with the new mongodb and nodejs driver.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.