incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: URL for _all_docs
Date Mon, 23 May 2011 16:12:22 GMT
On Mon, May 23, 2011 at 6:08 PM, Johannes Schneider
<mailings@cedarsoft.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi guys,
>
>
> I know that I can fetch all docs using an URL like this:
>
>
> http://server/mydb/_all_docs
>
> But is it also possible to use the path as for user defined views?
>
> http://server/mydb/_design/mycat/_view/myview
>
> I am looking for something like that:
>
> http://server/mydb/_design/build_in/_view/all_docs
>
>
>
> Thanks,
>
> Johannes
>
>
Why ?

Anyway, I see 2 simple solutions:

1. write a view that emit all docs
2. Put all behind _rewrite/ and make a rule using _all_docs.

- benoƮt

Mime
View raw message