Mongo aggregate count by user

后端 未结 0 601
天涯浪人
天涯浪人 2021-01-04 11:53

I have 3 tables

users courses types

a user has several courses and one course belongs to a type. how to return the number of courses per type per user?

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