incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Marino <mmar...@gmail.com>
Subject Re: How get results in reversed order by date and without id field (stackoverflow)
Date Mon, 05 May 2014 19:51:23 GMT
> Am 05.05.2014 um 21:46 schrieb Nicolas Palacios <npalacios91@gmail.com>:
>
> Well I'm using the same keys for start and end..

You're using the object brackets {}, so they're not the same. Try
switching that to the startkey.



>
>
> 2014-05-05 15:24 GMT-04:00 Alexander Shorin <kxepal@gmail.com>:
>
>> On Mon, May 5, 2014 at 11:19 PM, Nicolas Palacios <npalacios91@gmail.com>
>> wrote:
>>> Hi Jens, thanks for your comment.
>>>
>>> But if I try with:
>>> myview?startkey=["3566120224"]&endkey=["3566120224",{}]&descending=true
>>>
>>> I get this error:
>>>
>>> {"error":"query_parse_error","reason":"No rows can match your key
>>> range, reverse your start_key and end_key or set descending=false"}
>>
>> Well, and what'll happen if you made another request with reversed
>> startkey/endkey values as error message suggested?(;
>>
>> --
>> ,,,^..^,,,
>>

Mime
View raw message