couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: How to sort?
Date Fri, 07 Sep 2012 22:13:38 GMT

On Sep 7, 2012, at 2:39 PM, Stephan Bardubitzki <stephan@bardubitzki.com> wrote:

> { [key: category, {}] } ???

startkey: [category]
endkey: [category, {}]

The {} will sort after any scalar or array value, so it’s commonly used in array keys in
queries to denote an end marker.

—Jens
Mime
View raw message