how to include attributes in mongodb aggregation

后端 未结 0 389
深忆病人
深忆病人 2020-12-21 17:02

I\'m trying to include the original attributes in the model along with the count

  async tickers(ctx) {
    let data = await ReadSchema.aggregate([
     { &qu         


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