incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Cuykens <gert.cuyk...@gmail.com>
Subject Re: url rev=x overwrite document _rev:y
Date Thu, 01 Sep 2011 00:09:02 GMT
On Thu, Sep 1, 2011 at 1:22 AM, Jens Alfke <jens@couchbase.com> wrote:
> On Aug 31, 2011, at 4:17 PM, Gert Cuykens wrote:
>
> Yes, exactly it will tremendously improve and shorten my client code.
>
> Tremendously? I ran into this issue as well when writing my own client library [CouchCocoa]
but it was pretty easy to work around by simply inserting a _rev key into the JSON before
writing it into the HTTP request. I think it added three or four lines of Objective-C code
to my method that saves documents.

When my client shell script is only 8 lines, 4 extra lines is a 50% increase :P

> Can you implement this in the development branch pleas.
>
> Sorry, I don’t work on the implementation of CouchDB itself. You should file a bug/enhancement
request.
>

https://issues.apache.org/jira/browse/COUCHDB-1268

Mime
View raw message