mongoDB query using $match and $group (filter last 24 hours logged data and group with id and count)

后端 未结 0 1736
慢半拍i
慢半拍i 2021-01-11 13:54

what I am trying to do is, filter only last 24 hour logs and group by userId and count how many time it logged

here is my mongoDB collection\'s schema

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