Skip to content

Conversation

@Kavya042
Copy link

@Kavya042 Kavya042 commented Feb 1, 2020

docs=JSON.parse(JSON.stringify(docs))

This particular line of code converts the _id generated by MongoDB to string in Node.js

docs=JSON.parse(JSON.stringify(docs))

This particular line of code converts the _id generated by MongoDB to string in Node.js
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