You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let’s say we want to keep the highest value.
In the text, it is state told to first commit update and then delete old revision:
This means we don’t agree with CouchDB’s automatic choice. To do this, we first overwrite the target document with our value and then simply delete the revision we don’t like
But the following code does something different. At least it first issues DELETE statement and only then PUT.
Let’s say we want to keep the highest value.
In the text, it is state told to first commit update and then delete old revision:
But the following code does something different. At least it first issues DELETE statement and only then PUT.
Page url: http://guide.couchdb.org/draft/conflicts.html
The text was updated successfully, but these errors were encountered: