Skip to content

Instantly share code, notes, and snippets.

@seancribbs
Created April 5, 2010 11:18
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 seancribbs/356248 to your computer and use it in GitHub Desktop.
Save seancribbs/356248 to your computer and use it in GitHub Desktop.
{"inputs":"bucket",
"query":[
{"map":{"language":"javascript", "name":"Riak.mapValuesJson"}},
{"reduce":{"language":"javascript", "source":"function(values){ return values.slice(0,20); }"}}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment