Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db.coll.group(
- {
- key:{'date':true},
- initial: {click:0},
- reduce: function(doc, prev){prev.click += 1},
- cond: {topic:"abc"}
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement