How to populate one to many relationship in mongoose with parent refrencing?

后端 未结 0 1697
礼貌的吻别
礼貌的吻别 2021-01-06 14:22

I have three collections: parent, child1, child2.

parent collection:

[{_id:1}, {_id:2}, {_id:3}]

child1 collection:

[{_         


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