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
Key |
Type |
timestamp(ISODate) |
Date |
... |
... |
transactionLogs_docs |
Array |
????- [0] |
Object |
????????- userId |
String |
????????- ... |
... |
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…