couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@mfdz.com>
Subject Re: Clarifications or bugs
Date Wed, 09 Apr 2008 22:10:36 GMT
On Wed, Apr 9, 2008 at 2:50 PM, Søren Hilmer <sh@widetrail.dk> wrote:
>  2. startkey_docid does not seam to work, the first document in the view is
>  always returned.

Søren,

You maybe right about that. I just want to mention that I was having
the same problem for a while until I realized that the collation order
is defined on json objects. So when you are looking to start a
particular string, you need to send it inside double quotes.

eg: "mykey" instead of mykey

Apologies if this is obvious to you, but it certainly threw me for a
loop for a while. Of course you also need to URL-escape the starting
quotes...

Chris


-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message