I would prefer a parameter like "force_update=true" and "delete_conflicts=true" 
to purge all existing versions and conflicts and just save new one. Would be 
useful for cases when user need to overwrite existing versions or when 
conflicts are resolved. Thoughts?

On Oct 13, 2011, at 1:14 PM, Michael Zedeler wrote:

> On 2011-10-13 00:58, Panop Suvaphrom wrote:
>> I know that it is not possible to update the document without current 
>> version.
>> 
>> But anyway, I would like to make sure about this.
>> Is there a way to update a document without knowing its current revision?
>> I would like to avoid first GETting current version…
> Did you look at CouchDB document update handlers?
> -- 
> Michael Zedeler
> 70 25 19 99 | LinkedIn <http://dk.linkedin.com/in/mzedeler> | Twitter 
> <http://twitter.com/#%21/mzedeler> | Github <https://github.com/mzedeler>

Reply via email to