How to populate mongoose virtuals by adding dynamic localField in subdocument?

前端 未结 0 390
耶瑟儿~
耶瑟儿~ 2021-01-21 10:41

I am having two schemas.

[1] Contact schema containing name, email, personID fields and
[2] Company Schema containing _profile and _contacts fields.

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题