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

Reply via email to