incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Re: Make a three
Date Wed, 28 Sep 2011 19:42:46 GMT
If I understand what you’re asking for, you can create a view whose keys are [category, sub_category,
	function(doc) {emit([doc.category, doc.sub_category, doc.brand], null);}
Then you can use grouping in queries to get all the subcategories of a category, or all the

View raw message