try to flip startkey/endkey when discending=true :)

On 15.12.2010, at 18:49, Fabio Batalha Cunha dos Santos wrote:

> Hello All,
> 
> I'm trying to set the descending=true in a view query when using the
> parameters start/end keys.
> 
> Example:
> 
> results a bunch of registers!
> http://fabiobatalha.couchone.com/scieloorg/_design/couchdb/_view/article_date?startkey=[%22arg%22]&endkey=[%22arg%22,{}]
> 
> results an empty list!
> http://fabiobatalha.couchone.com/scieloorg/_design/couchdb/_view/article_date?startkey=[%22arg%22]&endkey=[%22arg%22,{}]&descending=true
> 
> I just figure out that the descending did not take effects when using those
> parameters.
> 
> How can I implement this kind of query?
> 
> Thanks,
> *Fabio Batalha C. Santos*
> Colegiado SciELO
> www.scielo.org
> FAPESP - CNPq - BIREME - FapUNIFESP

Reply via email to