loading...

GIVE A SOLUTION of 'POPULATION ' of nested populate in mongoose plzzz

wasim15185 profile image wasim15185 ・1 min read

when i requesting "/message/:id" that path then is gives me nested object which given below instead of showing object id of 'msg' i want to poulated 'totalMsg>msg ' and 'totalMsg> _id' but the population is not working

the nested object is showing interminal

{   friends: [ 5f93b5c1a666a93698e67818, 5f9310e9eeab6507509710cf ]
_id:

Discussion

pic
Editor guide