Mongo push in array only if the id exists in other collection

后端 未结 0 1868
深忆病人
深忆病人 2021-01-31 00:50

I have 2 collection with 1-N cardinality using document references. eg.

collection one

{
   name: "O\'Reilly Media",
   founded: 1980,
   locatio         


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