incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rana Bunnni <rana_...@yahoo.se>
Subject Map view
Date Tue, 17 Sep 2013 19:06:43 GMT
Hi guys,
Please , i need help :
I have the following map view : 

function(doc) {
if(doc.type === "course"){
for(var i in doc.week){
  emit(doc._id,[{courseName:doc.course_name,week:doc.week[i]}]);
}}}


And via RestFullApi can i get all the weeks number. But the problem i don't know how can i
get these information by code(script). I don't know how can i write the script for that url
to get all information.
Please help me.

Best regards
Rana

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message