You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Joe Hillenbrand <jo...@gmail.com> on 2010/09/03 02:38:38 UTC

How do you see all the _design documents?

I am learning couchdb, and I can't find a way to get a list of the _design
documents on a database without doing /db/_all_docs.

Is there a better way to do this?

Re: How do you see all the _design documents?

Posted by Joe Hillenbrand <jo...@gmail.com>.
Oh, I forgot, I don't have a way to access Futon because of proxy issues, so
I am looking for a way to do it using curl. I am getting by doing:
    curl -s http://127.0.0.1:5984/db/_all_docs | grep _design
but it seems silly to request the whole database, if all I want is the
design docs.

On Thu, Sep 2, 2010 at 5:44 PM, Thomas Rampelberg <py...@gmail.com>wrote:

> Check out futon:
>
> http://127.0.0.1:5984/_utils/index.html
>
> Go to your database and select 'Design Documents' from the 'View'
> dropdown on the right.
>
> On Thu, Sep 2, 2010 at 5:38 PM, Joe Hillenbrand <jo...@gmail.com>
> wrote:
> > I am learning couchdb, and I can't find a way to get a list of the
> _design
> > documents on a database without doing /db/_all_docs.
> >
> > Is there a better way to do this?
> >
>

Re: How do you see all the _design documents?

Posted by Thomas Rampelberg <py...@gmail.com>.
Check out futon:

http://127.0.0.1:5984/_utils/index.html

Go to your database and select 'Design Documents' from the 'View'
dropdown on the right.

On Thu, Sep 2, 2010 at 5:38 PM, Joe Hillenbrand <jo...@gmail.com> wrote:
> I am learning couchdb, and I can't find a way to get a list of the _design
> documents on a database without doing /db/_all_docs.
>
> Is there a better way to do this?
>

Re: How do you see all the _design documents?

Posted by Nils Breunese <N....@vpro.nl>.
Joe Hillenbrand wrote:

> That works. Thanks

Futon does paging, but if you want the full list I'd leave out the limit parameter.

Nils.

> On Thu, Sep 2, 2010 at 5:45 PM, Sean Coates <se...@seancoates.com> wrote:
> 
>>> I am learning couchdb, and I can't find a way to get a list of the
>> _design
>>> documents on a database without doing /db/_all_docs.
>>> 
>>> Is there a better way to do this?
>> 
>> Futon does:
>> 
>> http://localhost:5984/dbname/_all_docs?limit=11&descending=true&startkey=%22_design0%22&endkey=%22_design%22
>> 
>> S

Re: How do you see all the _design documents?

Posted by Joe Hillenbrand <jo...@gmail.com>.
That works. Thanks

On Thu, Sep 2, 2010 at 5:45 PM, Sean Coates <se...@seancoates.com> wrote:

> > I am learning couchdb, and I can't find a way to get a list of the
> _design
> > documents on a database without doing /db/_all_docs.
> >
> > Is there a better way to do this?
>
> Futon does:
>
> http://localhost:5984/dbname/_all_docs?limit=11&descending=true&startkey=%22_design0%22&endkey=%22_design%22
>
> S
>
>

Re: How do you see all the _design documents?

Posted by Sean Coates <se...@seancoates.com>.
> I am learning couchdb, and I can't find a way to get a list of the _design
> documents on a database without doing /db/_all_docs.
> 
> Is there a better way to do this?

Futon does:
http://localhost:5984/dbname/_all_docs?limit=11&descending=true&startkey=%22_design0%22&endkey=%22_design%22

S