Fork me on GitHub
#datomic
<
2015-06-16
>
bhagany17:06:21

I'd like to issue a query using the as-of filter, but I'm using the REST api. I somehow overlooked that this is only documented for datoms and entity over REST, but not query. Does anyone know of a workaround?

bhagany17:06:55

The only thing that occurs to me is to build a small clojure wrapper around the api and figure out how to deploy it

bhagany17:06:23

However, I don't have much experience with JVM deployments and I'd prefer to keep the scope of this project as small as I can

marshall18:06:52

@bhagany: You can supply an :as-of in the args map: {:db/alias "dev/mbrainz-1968-1973", :as-of 12345}

bhagany18:06:13

ah, excellent. Thanks @marshall!