Skip to content

Instantly share code, notes, and snippets.

@derickr
Forked from anonymous/gist:4202200
Created December 4, 2012 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derickr/4202205 to your computer and use it in GitHub Desktop.
Save derickr/4202205 to your computer and use it in GitHub Desktop.
db.logs.aggregate({ $match : { method : "POST" }, $group : { _id : "$method" }})
@derickr
Copy link
Author

derickr commented Dec 4, 2012

db.logs.aggregate({ $match : { method : "POST" }} , { $group : { _id : "$method" }})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment