This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-18
Channels
- # beginners (13)
- # boot (2)
- # cider (5)
- # cljs-dev (47)
- # cljsrn (5)
- # clojure (34)
- # clojure-berlin (2)
- # clojure-russia (33)
- # clojure-serbia (10)
- # clojure-spec (24)
- # clojurebridge (1)
- # clojurescript (21)
- # code-reviews (8)
- # core-matrix (4)
- # datomic (11)
- # hoplon (1)
- # jobs (1)
- # leiningen (4)
- # lumo (4)
- # off-topic (12)
- # om (3)
- # parinfer (4)
- # pedestal (3)
- # proton (1)
- # reagent (3)
- # ring-swagger (2)
- # rum (2)
- # untangled (9)
- # vim (6)
is there any way to retract without the value? I saw a discussion about this in the group from ’14 or so, but was wondering if anything’s been added since.
One indirect way: :db.fn/retractEntity
tx fn will retract a whole tree of things on an entity without knowing their value
Otherwise you need to write a transaction function which reads the current value first so it can retract it
Keep in mind that retraction without a value is essentially saying "last writer wins". Be sure that's the semantics you want
ok, thx, yeah in this case, it’s just a single attribute, will look at using a tx fn.