oudalab / fajita

Event Data Tagging Tool
MIT License
7 stars 3 forks source link

Need to do user performance report each week #207

Open YanLiang1102 opened 6 years ago

YanLiang1102 commented 6 years ago

Here is the code: db.sourcedictionaries.aggregate( [ { $match : {"userName":/wikicoding/} }, { $group : { _id : "$userName",count:{$sum:1}} } ] )