couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Landolt" <d...@deanlandolt.com>
Subject Re: how to set order in docs?
Date Thu, 17 Jul 2008 21:01:31 GMT
Pat

Start here:

http://www.cmlenz.net/archives/2007/10/couchdb-joins

The sort key can be an array and this should do what you need. Have a look
at the ML archive from earlier today...

Dean

On Thu, Jul 17, 2008 at 4:53 PM, Patrick Aljord <patcito@gmail.com> wrote:

> Hey all,
>
> What's the best way to deal with ordered list of documents, like if a
> chapter has a list of sub-chapters that should be retrieved in order
> so I can sort them by first sub-chapter, second, third etc? in mysql
> that would be auto-increment I guess but how about couchdb?
>
> Thanks in advance,
>
> Pat
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message