couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Wark <barryw...@gmail.com>
Subject Re: Selecting part of a multi-value key
Date Sun, 21 Feb 2010 22:32:58 GMT
Is there a reason you can't alos create a view indexed by date then  
type?

Barry



On Feb 21, 2010, at 2:04 PM, David Van Couvering  
<david@vancouvering.com> wrote:

> I have a view that generates a type and a date as a composite key.   
> This way
> the results are sorted by type and then by date.
>
> I would like to call the view so that I get all rows that match a  
> given
> type, regardless of date.  I need them sorted by date.
>
> Is this possible?  I've tried varying syntaxes to no success.  I'd  
> prefer
> not to generate separate views for each type, but I'll do that if  
> that's the
> only approach.
>
> Thanks!
>
> David
>
> -- 
> David W. Van Couvering
>
> http://www.linkedin.com/in/davidvc
> http://davidvancouvering.blogspot.com
> http://twitter.com/dcouvering

Mime
View raw message