incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominic Tarr <dominic.t...@gmail.com>
Subject Re: Document design: Logging accesses to an item by a user
Date Sun, 13 Nov 2011 05:36:58 GMT
this might be easiest to achieve with a an update handler.

you can create all kinds of atomic transactional things like that, on a
single document though.

the user requests the update handler, which updates the count for that
user, and returns the song info, all in one request.

On Sun, Nov 13, 2011 at 3:25 PM, Manokaran K <manokaran@gmail.com> wrote:

> You can put it in the user doc or have a third doc. You can't have it on
> the song doc, because when many users are writing to it, it will cause rev
> mismatch errors.
>
> regds,
> mano
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message