incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stillwell <...@beebo.org>
Subject overwrite on update if _rev not latest?
Date Tue, 12 May 2009 07:28:46 GMT
Is there any way to get CouchDB to overwrite a document (instead of
generating a conflict) when updating an existing document with a _rev
that does not match the latest _rev?

One simple use case for this is that of a user opening up two user
profile tabs on a website, then editing both, and submitting both.
The second "update" will fail--is there a way to force this through?
(I don't particularly care if the second update clobbers some changes
from the first.)




Thanks,
Michael

-- 
http://beebo.org

Mime
View raw message