This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-14
Channels
- # beginners (4)
- # boot (78)
- # braveandtrue (3)
- # cider (9)
- # clara (6)
- # cljs-dev (4)
- # clojure (57)
- # clojure-brasil (1)
- # clojure-russia (99)
- # clojure-spec (20)
- # clojure-uk (40)
- # clojurescript (162)
- # component (17)
- # cursive (4)
- # datomic (21)
- # docker (2)
- # emacs (5)
- # figwheel (2)
- # hoplon (363)
- # jobs (1)
- # leiningen (1)
- # om (4)
- # om-next (5)
- # onyx (10)
- # proton (1)
- # re-frame (13)
- # reagent (13)
- # ring (3)
- # rum (1)
- # slack-help (1)
- # test-check (3)
- # untangled (7)
- # vim (24)
Hmm.. Maybe my setup is at fault, but even conj'ing $ to the arguments list didn't do it.
Pattern goes Last?
Thank you very much @favila
Man. Mind blown.
So, I’m I’d like to monitor the tx-report-queue
for changes and react to them, but I’m noticing the attribute keywords are not present. It appears they are being represented by the entity ids that were transacted when creating the schema. Is that correct?
(d/transact conn* [{:db/id (tempid), :test/attr “Abcde”}])
{:db-before datomic.db.Db,
@234dd5c2 :db-after,
datomic.db.Db @d16ab2c7,
:tx-data [#datom[13194139534314 50 #inst"2017-01-14T19:15:46.413-00:00" 13194139534314 true]
#datom[277076930200555 64 "Abcde" 13194139534314 true]],
:tempids {-9223090561879065153 277076930200555}}
In the above example it appears that :test/attr
is being represented as 64
@seantempesta Attributes are entities as well!
Is there an easy way to look them up? I was hoping calling (.a datom) would do it, but it just returns 64.
rad! thanks!
Silly question here -- I'm trying to cut over from Datomic Pro to Datomic Free on a project, to let other developers spin up with less overhead, I'm having some trouble documenting how to get services started up -- with datomic-free-0.9.5544, bin/run -m datomic.peer-server
fails saying it can't find datomic/peer_server__init.class
or datomic/peer_server.clj
, and indeed, I don't see them around in the distributed jars -- what am I missing?
...hmm; datomic-transactor-pro-0.9.5544.jar contains AOT'd datomic/peer_server, but datomic-transactor-free-0.9.5544.jar doesn't.
@tcarls did you figure out your issue?