DEV Community

Discussion on: How to use Populate in Mongoose & Node.js

Collapse
 
paras594 profile image
Paras 🧙‍♂️

don't forget to add ids in that array

Collapse
 
mouna_chaib_8b2cb5111511c profile image
mouna

yes that's why i was getting an empty array, thank you

Thread Thread
 
paras594 profile image
Paras 🧙‍♂️

:) good luck !