How can i query my collection for past 30 days and sum the cost and group it by day in mongod

前端 未结 0 1966
别跟我提以往
别跟我提以往 2021-02-04 09:34

I am new to mongo db... i want to query my service collection as i can get all the services from past 30 days and sum cost in each individual day:

exp:

[
          


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