2arg%22,{}]&endkey=[%22arg%22]&descending=true
>>>
>>> "key":["arg","20101100"]
>>> "key":["arg","20101100"]
>>> "key":["arg","20101000"]
>>> "
I will create a new page in the wiki with some query samples using the
startkey + endkey + descending
*Fabio Batalha C. Santos*
Colegiado SciELO
www.scielo.org
FAPESP - CNPq - BIREME - FapUNIFESP
On Thu, Dec 16, 2010 at 10:45 AM, Nils Breunese wrote:
> Fabio Batalha wrote:
>
> > Do you know
Fabio Batalha wrote:
> Do you know a better place to read and learn those tricks. I didn't found
> any issue about the flip in the wiki and in the book couchdb definitive
> guide.
You can modify the wiki if you feel that is needed. You can also leave comments
for the Definitive Guide if you like
quot;:["arg","20101100"]
> > "key":["arg","20101100"]
> > "key":["arg","20101000"]
> > "key":["arg","20101000"]
> >
> > Instead of this result I have a empty list
key=[%22arg%22]&descending=true
>
> "key":["arg","20101100"]
> "key":["arg","20101100"]
> "key":["arg","20101000"]
> "key":["arg","20101000"]
>
> Instead of t
tos*
Colegiado SciELO
www.scielo.org
FAPESP - CNPq - BIREME - FapUNIFESP
On Wed, Dec 15, 2010 at 7:49 PM, Nils Breunese wrote:
> You quite literally need to flip your startkey and endkey, so you'll need
> to query with ?startkey=[%22arg%22,{}]&endkey=[%22mex%22]&descending=true
>
december 2010 21:24
Aan: user@couchdb.apache.org
Onderwerp: Re: Doubts with start and end keys + descending=true
Now the descending parameter is working but I'm still not having the
expected result.
For example:
1. Results from arg to mex in ascending mode.
http://fabiobatalha.couchone.com
Now the descending parameter is working but I'm still not having the
expected result.
For example:
1. Results from arg to mex in ascending mode.
http://fabiobatalha.couchone.com/scieloorg/_design/couchdb/_view/article_date?startkey=[%22arg%22]&endkey=[%22mex%22,{}]
the result have arg,chl and me
On Wed, Dec 15, 2010 at 10:58 AM, Sebastian Cohnen <
sebastiancoh...@googlemail.com> wrote:
> try to flip startkey/endkey when discending=true :)
>
Yep, ran into this just yesterday and that was indeed the trick.
--
Matthew Woodward
m...@mattwoodward.com
http://blog.mattwoodward.com
identi.ca /
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://fabiobat
10 matches
Mail list logo