Skip to content
Snippets Groups Projects
Commit 94435047 authored by Christoph Thelen's avatar Christoph Thelen
Browse files

Add view that returns full answers by question id

parent f7caa461
1 merge request!11Add view that returns full answers by question id
......@@ -19,6 +19,9 @@
},
"cleanup":{
"map":"function(doc) { if (doc.type == 'skill_question_answer') { emit(doc.questionId, doc._id); }}"
},
"by_questionid_piround":{
"map":"function(doc) { if (doc.type == 'skill_question_answer') { emit([doc.questionId, doc.piRound], doc); }}"
}
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment