couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Carey" <>
Subject Re: Pagination with Reduce Views
Date Wed, 12 Nov 2008 09:54:43 GMT
> I can't however get descending = true to retrieve any data on my view.
> I get {"rows":[]} no matter which start key I use. Does descending
> true only work on views that aren't reduced?

Querying with descending=true effectively reverses the result order
before your keys restrict the results.

So, if there's a natural endkey for your query when you query with
descending=false, set that to the startkey and now query with

Also see Querying Options on


View raw message