couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <...@jsonified.com>
Subject Re: Changes API with user details
Date Thu, 13 Feb 2014 14:08:20 GMT
On 13 February 2014 14:09, Suraj Kumar <suraj.kumar@inmobi.com> wrote:
> Hi,
>
> Is it possible to get which user caused a change? Also, what about the time
> of the change? If not possible, do you think its useful to have this
> available as part of couch core? Is it worth doing this via a plugin?

Hey Suraj,

These questions usually answer themselves when you put some key pieces
of info together"

1. replication is asynchronous and may take place over days, weeks or longer.

2. the "time" at which a change arrives at another instance may not
represent the time it arrived at the first instance.

3. you can put any info you like into a document, and use a validation
function to enforce it.

If that's not enough, please add some more info on your use case.

A+
Dave

Mime
View raw message