incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniele Testa <daniele.te...@gmail.com>
Subject Updates
Date Wed, 01 Jun 2011 16:35:07 GMT
Hi,

I am new to this mailing list so please forgive me if this is a stupid question.

Why do I have to specify a revisionID when I do an update?
Can't couchdb just assume I meant to update the last revision if I
leave the revisionID empty?

If I know that I want to update document with id=XYZ, do I have to
first do a GET/HEAD for that id to get the
last revision ID, and then run the PUT?

I really hope there is a better way :)

Regards,
Daniele

Mime
View raw message