This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-12
Channels
- # beginners (63)
- # boot (3)
- # braveandtrue (153)
- # cider (19)
- # cljdoc (2)
- # clojure (80)
- # clojure-dev (25)
- # clojure-italy (73)
- # clojure-losangeles (1)
- # clojure-nl (4)
- # clojure-spec (67)
- # clojure-sweden (1)
- # clojure-uk (83)
- # clojurescript (56)
- # clojutre (11)
- # core-logic (37)
- # cursive (18)
- # datomic (14)
- # editors (10)
- # emacs (13)
- # figwheel-main (11)
- # fulcro (62)
- # graphql (11)
- # jobs (3)
- # klipse (1)
- # leiningen (6)
- # off-topic (91)
- # onyx (7)
- # pedestal (3)
- # portkey (5)
- # re-frame (14)
- # reagent (13)
- # remote-jobs (1)
- # shadow-cljs (111)
- # tools-deps (4)
- # yada (10)
Hi, I'm using datomic on-prem with dynamoDB as backend and I have a function c/uuid
which creates a random uuid (which namespace is not at transactor classpath!). I must pass some uuids to a transactor function tx-f
, could I use a lazy-seq created with repeatedly
as arg (e.g uuids
) to tx-f
and, as a example, use (take 4 uuids)
inside tx-f
?
Hi, question about retracting an entity:
Using a pull query in the form of (d/pull db '[*] eid)
after having the entity retracted using the same eid yields the :db/id. Since I was expecting it to return nil, why does it not?
entity ids don't exist or not exist; the only meaningful question is whether anything is asserted of them
@favila So retracting only "removes" all attributes and their corresponding values from the entity (as well as references)? So an entity not having an attribute can be treated as if it is not existent?
Thank you for the clarification. The links helped a lot. The last paragraph in the documentation here (https://docs.datomic.com/on-prem/entities.html#basics) also was quite helpful.