hi

[first post to this list]

either i am missing the obvious or otherwise this might be a feature request ;)

it would be convenient if one could PUT an existing document without supplying a _rev number.

the argument for supplying the _rev number appears to be so that couchDB can apply a it's diff mechanism based on that particular revision - much like a MVCC.

in case of a PUT where one doesn't supply the _rev number, couchDB should then just assume and use "last revision number" as a base (i guess "last" is known server side looking at Futon).

otherwise one have to first figure out which revision is latest (1. request) plus then update the document (2. request).

makes sense ?

thanks
./allan

Reply via email to