Thank you so much,you are great.

I did it the following : but its not worked:
function(doc) {
  if(doc.type === "student"){
 var  name = doc.firstName; var courseName = doc.course; if (doc.type === 
"course" && doc.courseName === courseName){
emit(doc.courseName,doc);
}
}
} 
Can do explain where is my wrong ? and how can i fix it ?

Best regards

Reply via email to