couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rana Bunnni <rana_...@yahoo.se>
Subject RE: CouchDB view(difficult issue)
Date Sun, 15 Sep 2013 12:36:41 GMT
I want to display the numbers of weeks for each student.
Each student have one course in a several weeks.

i did it the connection by TYPE.

documnet 1: student :

Name : tom
age :31
type: student
course: java


document 2 : schema
1.
cource: java
type: course
week: 20

2.
cource: java
type: course
week: 22

Now , i want to display the weeks that a student tom have it.
the result is week : 20 , 22.

How can i do that by using the map function.

Please help me.
Best wishes

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