Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels