couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Orr <nicholas....@zxgen.net>
Subject Re: Selecting part of a multi-value key
Date Sun, 21 Feb 2010 22:09:33 GMT
I think it is startkey=[date],endkey=[date, *]

Nick

2010/2/22 David Van Couvering <david@vancouvering.com>

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message