couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Bonser <mister...@gmail.com>
Subject Re: Retrieve List of Documents by Ids
Date Mon, 21 Jun 2010 21:50:59 GMT
On Mon, Jun 21, 2010 at 4:45 PM, Gordon Leland Hempton
<ghempton@gmail.com> wrote:
> I have an application where I have a list of 20-40 document id's that I
> would like to retrieve from couch. There isn't a pattern to these ids that
> would translate to a view easily (to my knowledge).
>
> What is the best way to do this? It seems excessive to create 40 http
> requests on the server to render a single web page. Is there a better way?

Yes, there is a better way:
http://wiki.apache.org/couchdb/HTTP_view_API#line-126

>
> Thanks,
> Gordon
>



-- 
Paul Bonser
http://probablyprogramming.com

Mime
View raw message