couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: Getting revision date
Date Fri, 13 Nov 2009 08:45:37 GMT
On Wed, Nov 11, 2009 at 02:21:35PM -0800, Miki Tebeka wrote:
> Is it possible to get the date of the revision (or any timestamp associated
> with it)?
> 
> http://localhost:5984/db/docid?revs_info=true returns the list of revision
> but without any time stamp.

Not for revisions - you should add your own 'modified' timestamp when
updating.

However, if you used the time-based uuid generator, then you can work out
the creation time by parsing the document's _id.

Mime
View raw message