incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Bardubitzki <step...@bardubitzki.com>
Subject Tracking doc access
Date Fri, 15 Mar 2013 00:56:32 GMT
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


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