Keys can be so called 'complex' keys. You could emit [username, tag] as the key for your view entries and then request /_design/designname/_view/by_username_and_tag?key=["username","tag"] to do the lookup.
Nils. ________________________________________ Van: bryan rasmussen [[email protected]] Verzonden: dinsdag 29 maart 2011 8:03 Aan: [email protected] Onderwerp: how to get documents by two or more keys? As per the subject - most of my requests can be done with simple views but I have some cases where I will want to return for multiple keys - for example where I want to return documents for a username where there is a particular tag value? Thanks, Bryan Rasmussen ------------------------------------------------------------------------ VPRO www.vpro.nl ------------------------------------------------------------------------
