Created
November 13, 2013 20:52
-
-
Save jandrewthompson/7456194 to your computer and use it in GitHub Desktop.
Datomic: querying as of a specific db instant
This file contains hidden or 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
(q '[:find ?food | |
:where [?person :person/name "John"] | |
[?person :favorite/food ?food]] | |
(d/since database #inst "2012-01-01T00:00:00.000-00:00") | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment