My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How does mongoose schema population work?

Opeyemi Odedeyi's photo
Opeyemi Odedeyi
·May 25, 2017

is it normal that after I populate a mongoose schema, the result gets console logged to the terminal successfully but doesn't get saved, and instead I get an _id reference to the document that was populated. How can I make sure that the result is saved after population