You have to URL encode the JSON (in your example "bla\"bla") for keys:
?startkey=%22bla%5C%22blah%22

I tried it via curl; it was accepted.

2010/8/17 Dmitry Yakimov <[email protected]>:
> Hi,
>
> It seems that in couch.js in this.bulkSave function:
>
> this line:     var newUuids = CouchDB.newUuids(docs.length);
> should be like that:     var newUuids = CouchDB.newUuids(newCount);
>
> And a question - how can I use double quotes in request by key:
>
> something like that does not work: ?startkey="bla\"bla"
> it gives me invalid JSON. The reason that some of my keys contains double
> quotes. It is possible in couchDB?
>
> Best Regards,
> Dmitry Yakimov
>

Reply via email to