Use populate and pre
Opened this issue · 0 comments
Aneesh540 commented
MongoDB takes 2 passes to read data. The function is not according to preferred standards of nodejs
Use populate instead and pre to delete portfolio before deleting user
Opened this issue · 0 comments
MongoDB takes 2 passes to read data. The function is not according to preferred standards of nodejs
Use populate instead and pre to delete portfolio before deleting user