Fork me on GitHub
#datomic
<
2017-04-06
>
ddellacosta17:04:29

sooo I’m sure this has come up before but my google-fu is failing me. I’d like to test inserting values at different times and ensure that I get different values out of datomic for those date ranges--is there any way for me to insert values in the past (or some other approach that I could take advantage of here)?

favila17:04:46

You can commit transactions in the past (set :db/txInstant on the transaction entity), but you can't commit transactions before other transactions

ddellacosta18:04:28

jeez, I didn’t think to look in the official docs 😕

csm21:04:21

If I’m understanding correctly, the datomic.client api caches by database, and not by peer host?