Hi Thomas,

no, I need only to track read, and I need the timestamp for some charts.

Stephan

On 13-03-14 07:02 PM, Thomas Hommers wrote:
Hi Stephan,

With 'accessed' do you mean read and write ? In case you just want to track 
write access i believe you could use the _rev attribute.

Regards
Thomas



----- Reply message -----
From: "Stephan Bardubitzki" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Tracking doc access
Date: Fri, Mar 15, 2013 08:57



Hi there,

I have a task where I need to track how often a doc is accessed. The two
possible ways I can think of are:

  1. add an array to the doc and add the timestamp when it is accessed
  2. create a new document and add the doc._id and the timestamp

Which one would you prefer? Or is there a better solution?

Thanks,
Stephan


--------------------------------
Spam/Virus scanning by CanIt Pro

For more information see
http://www.kgbinternet.com/SpamFilter.htm

To control your spam filter, log in at
http://filter.kgbinternet.com


Reply via email to