Skip to content

remove extra map#28

Open
deepakdevcast wants to merge 1 commit into
100xdevs-cohort-2:backend-solutionfrom
deepakdevcast:patch-1
Open

remove extra map#28
deepakdevcast wants to merge 1 commit into
100xdevs-cohort-2:backend-solutionfrom
deepakdevcast:patch-1

Conversation

@deepakdevcast

Copy link
Copy Markdown

Mongoose Find provides a select specific fields from data reference: https://stackoverflow.com/questions/24348437/mongoose-select-a-specific-field-with-find

Mongoose Find provides a select specific fields from data
reference: https://stackoverflow.com/questions/24348437/mongoose-select-a-specific-field-with-find
@deepakdevcast

Copy link
Copy Markdown
Author

this uses the Mongoose inbuild select features and reduces the map loop complexity.

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

Successfully merging this pull request may close these issues.

1 participant