This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-01
Channels
- # announcements (7)
- # beginners (30)
- # boot (6)
- # calva (24)
- # cider (8)
- # clj-kondo (8)
- # cljs-dev (16)
- # cljsrn (8)
- # clojure (60)
- # clojure-italy (19)
- # clojure-mexico (6)
- # clojure-nlp (2)
- # clojure-uk (11)
- # clojurescript (36)
- # datomic (11)
- # hoplon (1)
- # juxt (2)
- # kaocha (1)
- # keechma (13)
- # nrepl (1)
- # off-topic (51)
- # reagent (7)
- # rewrite-clj (17)
- # robots (7)
- # shadow-cljs (2)
- # sql (4)
- # testing (1)
- # tools-deps (11)
- # vim (12)
Hi, I have a question about free vs client ( ion ) versions. I installed the latest free version by putting this in the deps.edn file
com.datomic/datomic-free {:mvn/version "0.9.5697"}
then I notice that with datomic.api.d/transact I have to transact like this
(d/transact conn some-single-schema)
instead of usually with datomic.client.api/transact i do this
(d/transact conn {:tx-data some-single-schema})
I guess I wonder why those api's would be different. and wonder if I have old version or if that is on purpose that the peer api does not use the tx-data map to pass in data ?
I am trying to setup testing ( to use the free peer locally ) and I can setup the local peer database ( create it ) fine, but was hoping to be able to call the same functions to push data to the local database as I do with the client db
you can wrap them, and there's also the client on-premise which is similar to the cloud client
right ... good point about the on premise being similar to cloud, and i found a library that wraps it like you said ( sorta wraps it ) but it is just interesting that the apis don't match when it would be super nice if they did ( no hackery needed to switch )