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 Re: Updates
Date Wed, 01 Jun 2011 18:29:11 GMT
Thanks, this is what I was looking for.

Almost like a trigger :p

However, I added a HEAD request to my PHP class when revision is not
specified. I will see how it performs under load before I dig into
this update handler thing.

Regards,
Daniele

1 jun 2011 kl. 19:51 skrev Aurélien Bénel <aurelien.benel@utt.fr>:

> Hi Daniele,
>
>> Shouldn't that be up to the user? Why would the database protect me from that. [...]
>> I don't see the problem why the user cannot specify something like "_rev=latest".
>
> Well, if you really want to bypass the conflict check, you can do this with an update
handler.
>   http://wiki.apache.org/couchdb/Document_Update_Handlers
>
> But it's at your own risk ;)
>
>
> Regards,
>
> Aurélien

Mime
View raw message