> That would encourage users to blindly overwrite data by updating the _rev to match.
I don't like designers telling me how write my program. I have a large app that does this all the time. The proper execution doesn't care at all about collisions. This is causing me headaches for no reason. On Tue, May 28, 2013 at 8:20 AM, Robert Newson <[email protected]> wrote: > No, by design. That would encourage users to blindly overwrite data by > updating the _rev to match. Instead, you'll need to fetch the > document, getting its new content and rev, and re-apply your change. > > B. > > > On 25 May 2013 22:53, Daniel Wertheim <[email protected]> wrote: > > Hi, > > > > is there a way to get CouchDb to return the current _rev of the document > > being updated whenever a conflict occurs? Either in the content/body of > the > > response or as a header. > > > > Cheers, > > > > //Daniel >
