Mongodb - Add calculated field with a count from another collection

前端 未结 0 1895
忘掉有多难
忘掉有多难 2021-01-30 16:16

I\'m trying to build a Mongo aggregation that match the following "SQL" select:

select g.name, (select count(*)          


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