How can I aggregate, populate, sort and get an average of items with an array in the sub document, while using mongoose-aggregate-paginate-v2?

前端 未结 0 1788
感情败类
感情败类 2021-02-18 16:09

Hi I am writing some code for a star rating system.

At a high level, what I am looking to achieve is to get an overall Average Star score for a user and the average stars

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