$MongoDB $lookup foreach element in array on the same collection

前端 未结 0 1501
无人及你
无人及你 2021-01-20 14:26

I have a collection of users where each element has a list of contacts, I would like to create an aggregation which, given the id of the user, makes a $ lookup for each cont

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