EN VI
Posts (0)
Questions (1)
2024-03-13 15:00:08
you can use aggregation query for it. db.collection.aggregate([ {$match:{source:'here'}, {$addFields:{count:1}}, {$group:{_id:'$date' ,totalDocuments:{$sum:"$count"}} } ])

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login