Is the following guaranteed to give me the most recent N transaction datoms? Is there a better way to do this?
(->>
(d/datoms @conn :eavt)
reverse
(take N))
Oops, I'm thinking that the following is probably a better approach as it will only return :db/txInstant datoms:
(->>
(d/datoms @conn :aevt :db/txInstant)
reverse
(take N))