incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabio Batalha Cunha dos Santos <fabio.bata...@scielo.org>
Subject Re: View for multiple IDs
Date Thu, 24 Feb 2011 12:35:38 GMT
Hi Martin,

You can create a list function that will filter only the desired ID's. Than
you informe you listfunction what id's you desire to fetch using parameter
on the querystring.


*Fabio Batalha C. Santos*
Colegiado SciELO
www.scielo.org
FAPESP - CNPq - BIREME - FapUNIFESP



On Thu, Feb 24, 2011 at 8:41 AM, Martin Hewitt <martin@thenoi.se> 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, None, 0 bytes)
View raw message