Created
April 17, 2011 17:10
-
-
Save ddol/924242 to your computer and use it in GitHub Desktop.
MongoDB Map/Recuce with stored JavaScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.pings.mapReduce("function(){cidmap.apply(this);}", "function(k,v){return cidred(k,v);}", {out: { replace : "cidmr"} } ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment