couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayhan Kesenci <a.kesenc...@googlemail.com>
Subject Re: Is it
Date Wed, 21 Jan 2015 23:59:03 GMT
[image: Inline-Bild 1]

[image: Inline-Bild 2]

there are the map function and the command

2015-01-21 22:55 GMT+01:00 Stanley Iriele <siriele2x3@gmail.com>:

> hmm?
>
> your curl command should have worked just fine...something tells me you're
> not typing EXACTLY what you sent...could you type history and paste it
> here?
>
> Also...could you show us the map and reduce functions as well?
>
> On Wed, Jan 21, 2015 at 1:46 PM, Ayhan Kesenci <a.kesenci89@googlemail.com
> >
> wrote:
>
> > So any idea please?
> > Hi,
> >
> > I just re-checked here and in principle, your approach is correct. I'd
> try
> > a.) inserting the URL in a browser (ideally not MSIE) and b: typing this
> > thing verbatim once more into cmd. Then I'm out of ideas - but you're
> > almost there for sure.
> >
> > Good luck
> >     Sebastian
> >
> >
> > On Wed, Jan 21, 2015 at 9:33 PM, Ayhan Kesenci <
> a.kesenci89@googlemail.com
> > >
> > wrote:
> >
> > > I try "curl -X GET
> > > http://127.0.0.1:5984/twitterdb/_design/tweetzahl/_view/tweetzahl>
> > > C:\Users\Sei_Erfolgreich\Desktop\sebastian.txt
> > >
> > > end get a error message in the txt file
> > > {"error":"method_not_allowed","reason":"Only GET,POST,HEAD allowed"}
> > >
> > >
> > > 2015-01-21 21:25 GMT+01:00 Sebastian Rothbucher <
> > > sebastianrothbucher@googlemail.com>:
> > >
> > > > Hi,
> > > > try
> http://127.0.0.1:5984/twitterdb/_design/tweetzahl/_view/tweetzahl
> > > > Good luck!
> > > >    Sebastian
> > > >
> > > > On Wed, Jan 21, 2015 at 9:22 PM, Ayhan Kesenci <
> > > a.kesenci89@googlemail.com
> > > > >
> > > > wrote:
> > > >
> > > > > I mean for example you have this command to export a couchdb with
> > curl
> > > > >
> > > > > http://127.0.0.1:5984/twitterdb/_all_docs?include_docs=true>
> > > > > C:\Users\Sei_Erfolgreich\Desktop\text.txt
> > > > >
> > > > > but i need a special view, but if I try it to copy the url fromt
> the
> > > view
> > > > > in the command
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> >
> http://127.0.0.1:5984/_utils/database.html?twitterdb/_design/tweetzahl/_view/tweetzahl
> > > > > > C:\Users\Sei_Erfolgreich\Desktop\text.txt
> > > > >
> > > > >
> > > > > dont work,only it saves the html version, but i need the data
> > > > >
> > > > > 2015-01-21 20:33 GMT+01:00 Alexander Gabriel <alex@barbalex.ch>:
> > > > >
> > > > > > you can use a list if you want to generate a format other than
> json
> > > > > > Alex
> > > > > >
> > > > > >
> > > > > > 2015-01-21 20:29 GMT+01:00 Aurélien Bénel <aurelien.benel@utt.fr
> >:
> > > > > >
> > > > > > > > Is it possible to export a couchdb view ?
> > > > > > >
> > > > > > > Err... A view is already a JSON payload got with HTTP...
> > > > > > > What do you mean?
> > > > > > > What for? In which format?
> > > > > > >
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > Aurélien
> > > > > >
> > > > >
> > > >
> > >
> >
>

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