couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <simonmet...@googlemail.com>
Subject Re: View for multiple IDs
Date Fri, 25 Feb 2011 17:04:58 GMT
you can query the view with a post containing a json document like:

{"keys": ["key1", "key2", ...]} See http://wiki.apache.org/couchdb/HTTP_view_API#Querying_Options

Sent with Sparrow
On Thursday, 24 February 2011 at 10:39, Martin Hewitt wrote: 
> Hi all,
> 
> How would I create a view to retrieve documents with the IDs (i.e.
> non-numeric, non-sequential):
> 
> ["asdf", "powsf", "aaaa"]
> 
> I would like the three documents that match these IDs, is this doable
> in one view or should I just retrieve them individually?
> 
> Thanks,
> 
> Martin
> 

Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message