How can do aggregate mongodb to limit 1 per day

后端 未结 0 1282
心在旅途
心在旅途 2020-12-10 15:53

I\'m trying to do to a aggregate sum up to values in a month, but i only want to sum 1 entry per day, i tried to use $limit before the group but only get 1 entry return.

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