turbovote/datomic-toolbox — pull request #2 by tank157 (2014-06-17 02:26:34+00:00)
Title: [TH] timestamps function

Assigning to @tie-rack

Utility function for getting timestamps for an entity. You pass in an (ideally) attribute and a value that can determine the entity, and get back a hash with :created-at, :updated-at, and :timestamps which are all the modification times in ascending order.

I'd like to make a version that works with :db/id, but there's something special about :db/id that I haven't sorted out how to specify it properly yet, and this will work in the meantime for most of our entities.

No particular card for this, it'll get used in some ballot-scout work.