incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Document design: Logging accesses to an item by a user
Date Sun, 13 Nov 2011 11:41:40 GMT
Update handlers just move logic to the server side, they are not
atomic or transactional, only the document update itself is. In other
words, you *can* get a 409 conflict using an update handler.

B.

On 13 November 2011 09:24, Marian Steinbach <marian.steinbach@gmail.com> wrote:
> Sounds like the relation-document way (having a songaccess doc,
> equivalent to having had a songaccess table) would be the easiest one.
> I'll have to look into update handlers though.
>
> Thanks guys!
>

Mime
View raw message