incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: Views with key as dictionary
Date Tue, 14 Dec 2010 17:08:59 GMT
Hi Fabio,

> how can I filter a view result using a dictionary as key, for example I want to bring
just registers with "collection ==
> scl".


You would use an array as the key: 
   "key": ["sci", "20100900"]

and then you would call the view with:
   ?startkey=["sci"]&endkey=["sci",{}]


Regards,

Aurélien
Mime
View raw message