Created
April 19, 2017 15:35
-
-
Save bonkydog/ec005e9fc7aa60cd008bde4e5b8934bd to your computer and use it in GitHub Desktop.
Query the history of a datomic entity.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(d/q | |
'[:find ?e ?a ?v ?tx ?added | |
:in $ ?e | |
:where | |
[?e ?a ?v ?tx ?added]] | |
(datomic.api/history db) | |
123123) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment