couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Pathak <vpat...@orgmeta.com>
Subject Re: Map view
Date Tue, 17 Sep 2013 19:16:20 GMT
If by script you mean as a command line script, you can do:

curl <view_url> -O <output file>

For formatting the output you should use a list function or process the
downloaded through other programs.



On Tue, Sep 17, 2013 at 3:06 PM, Rana Bunnni <rana_ios@yahoo.se> wrote:

> 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