This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-16
Channels
- # atlanta-clojurians (8)
- # beginners (103)
- # boot (22)
- # boot-dev (1)
- # cider (36)
- # cljs-dev (55)
- # cljsrn (3)
- # clojars (25)
- # clojure (104)
- # clojure-brasil (1)
- # clojure-dusseldorf (2)
- # clojure-italy (8)
- # clojure-norway (9)
- # clojure-russia (15)
- # clojure-spec (6)
- # clojure-uk (26)
- # clojurescript (246)
- # cursive (26)
- # data-science (1)
- # datomic (22)
- # dirac (11)
- # editors (1)
- # emacs (8)
- # fulcro (50)
- # graphql (11)
- # hoplon (1)
- # jobs-discuss (27)
- # leiningen (44)
- # luminus (33)
- # lumo (2)
- # mount (1)
- # off-topic (8)
- # onyx (5)
- # parinfer (4)
- # reagent (94)
- # ring-swagger (14)
- # shadow-cljs (37)
- # spacemacs (10)
- # specter (3)
- # tools-deps (4)
- # unrepl (14)
- # yada (5)
does re-transacting the same schema on top of an old one cause any damage? on client-pro 0.8.14
it causes the number of datoms to increase even though contents are same...
our second question is how to connect the peer api to a sql-backed server: we're getting a :db.error/unsupported-protocol :sql error
(we have been able to succesfully connect to the same sql-backed peer server using the client api, though)
Your datoms increase because new transactions are being recorded, transactions being themselves entities
by the map response, I don't think new schema datoms are being added or replaced, I just see a new tx datom
@devicesfor interesting, our understanding was that if you transacted [user :likes 🍕] twice, the number of log/history datoms would increase but the number of datoms in the (d/db conn)
current db would stay the same...
but if your schema is exactly the same, Datomic’s redundancy elimination would remove any other datoms
@marshall interesting... thanks
@marshall do you know if the datomic-free api can connect to the sql backend peer? we're getting connection errors (we're trying to hook into the same postgres-backed api in dev and production, and the producton client api is working fine but the free dev api is not working)
if you have a Starter (or Pro) license, you should use that for a sql-backed instance
@marshall when we include [com.datomic/datomic-free "0.9.5656"]
we can only see the datomic.client.api
namespace -- is there another maven artifact for the peer library?
oops, meant to say [com.datomic/client-pro "0.8.14"]
sorry, we found them in the tarball (i guess they're not in the maven site because of the closed source nature of the project...)
@clojurians873 Correct - the peer library can be installed from the downloaded zip with bin/maven-install or you can get it from the private maven repo with the credentials listed in your http://my.datomic.com account
isn't the "transact a movie" example here wrong? no :tx-data https://docs.datomic.com/cloud/transactions/transaction-processing.html#submitting