Skip to content

Instantly share code, notes, and snippets.

@simonmd
Created November 1, 2010 22:05
Show Gist options
  • Save simonmd/658958 to your computer and use it in GitHub Desktop.
Save simonmd/658958 to your computer and use it in GitHub Desktop.
{
"_id": "_design/study_desc",
"_rev": "1-f220f2722880f8cb7fac3286828e4612",
"language": "javascript",
"views": {
"study_desc": {
"map": "function(doc) {\n emit({\"StudyDesc\":doc.t00400254,\"SerieDesc\":doc.t0008103E},1);\n}",
"reduce": "function(keys, values, rereduce) {\nreturn sum(values);\n}\n"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment