Choose the best description of the output for the query below var weekAgo = Date.now() - (1000*60*60*24*7); db.visits_calc.group( { key:{date:true}, cond:{date:{$gt:weekAgo}}, reduce:function(obj, out) {out.day += obj.total}, initial:{day:0} });
Correct Answer: Returns results for the last week grouped by day
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More MongoDB MCQ Questions