Can you provide an example of query?

On Wed, Sep 28, 2011 at 12:42 PM, Jens Alfke <[email protected]> wrote:
> If I understand what you’re asking for, you can create a view whose keys are 
> [category, sub_category, brand]:
>        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 brands.
>
> —Jens

Reply via email to