This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-23
Channels
- # announcements (66)
- # babashka (41)
- # beginners (93)
- # calva (10)
- # cider (2)
- # clj-kondo (112)
- # cljs-dev (6)
- # cljsrn (1)
- # clojure (44)
- # clojure-dev (10)
- # clojure-europe (35)
- # clojure-italy (15)
- # clojure-nl (3)
- # clojure-uk (2)
- # clojurescript (38)
- # conjure (1)
- # datalevin (1)
- # datomic (16)
- # deps-new (4)
- # events (7)
- # figwheel-main (1)
- # fulcro (59)
- # graalvm (21)
- # integrant (3)
- # introduce-yourself (8)
- # jobs-discuss (2)
- # malli (23)
- # membrane (11)
- # membrane-term (2)
- # missionary (17)
- # off-topic (7)
- # pathom (23)
- # pedestal (6)
- # polylith (7)
- # portal (25)
- # releases (1)
- # remote-jobs (3)
- # reveal (5)
- # shadow-cljs (43)
- # spacemacs (7)
- # sql (18)
- # tools-deps (33)
- # vim (10)
- # xtdb (36)
what is the difference between calling d/entid
and passing the attr as keyword?
(d/qseq
'[:find ?val
:in $ ?attr
:where [_ ?attr ?val]]
db
(d/entid attr))
(d/qseq
'[:find ?val
:in $ ?attr
:where [_ ?attr ?val]]
db
attr)
also entid
is a peer only thing, right? So is passing the keyword the way to go on the client?Hi @U02CV2P4J6S! If you are finding all values for an attribute you do not need query and might be better served with https://docs.datomic.com/cloud/query/raw-index-access.html#datoms.

But to answer your specific question: While entid
is a peer API, entity ids and keywords are both fundamental to Datomic's data model and present in all flavors of Datomic.
Was there any article on Datomic schema migrations? Also, is it common to use ragtime?
I asked the same question last summer and had this answer, which we used successfully. https://clojurians.slack.com/archives/C03RZMDSH/p1627657775006800
You can follow the thread's discussion by clicking on the link...
Thanks @UHJH8MG6S ! Thanks @U0514DPR7 ! Yeah I think that idempotent-tx by @U0P7ZBZCK is awesome!
found this https://github.com/magnetcoop/stork _ ouch! tied to on-prem version
mything/name
mything/my-name
what is better? I though 1 is bad because it hides the core function when I destructure with keys
. Does it matter?
Does anyone else see weird netty error messages when running Datomic in a docker container? I see the following when connecting (peer, dev protocol). Everything still seems to work just fine though so it's not an actual problem. I'd just be happy to make a little change if someone knows a quick fix.
Nov 23, 2021 3:13:08 PM org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector createConnection
ERROR: AMQ214016: Failed to create netty connection
java.net.UnknownHostException: datomic
at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:797)