This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-11
Channels
- # announcements (6)
- # babashka (7)
- # beginners (145)
- # biff (2)
- # calva (9)
- # cider (4)
- # circleci (9)
- # clj-commons (22)
- # clj-kondo (26)
- # cljs-dev (70)
- # cljsrn (4)
- # clojure (46)
- # clojure-australia (9)
- # clojure-europe (62)
- # clojure-nl (5)
- # clojure-norway (4)
- # clojure-spec (11)
- # clojure-uk (3)
- # clojurescript (18)
- # copenhagen-clojurians (1)
- # core-async (1)
- # cursive (13)
- # datahike (6)
- # datomic (47)
- # emacs (5)
- # events (2)
- # fulcro (13)
- # google-cloud (2)
- # gratitude (2)
- # helix (5)
- # honeysql (5)
- # hyperfiddle (31)
- # jobs (1)
- # jobs-discuss (6)
- # london-clojurians (1)
- # lsp (5)
- # off-topic (9)
- # polylith (12)
- # portal (18)
- # re-frame (5)
- # reagent (29)
- # releases (2)
- # shadow-cljs (43)
- # specter (1)
- # test-check (8)
- # vim (1)
- # xtdb (66)
Hi everyone! I'm trying to retract a whole entity with (d/transact conn [[:db.fn/retractEntity 17]])
but I'm getting the following error, which I don't really understand because I didn't think I was touching tempids
; 2022-05-11T22:34:38.072Z LAPTOP-7VGTS0VK ERROR [datahike.db:1958] - Can't use tempid in ' [:db.fn/retractEntity "kek.txt"] '. Tempids are allowed in :db/add only {:error :transact/syntax, :op [:db.fn/retractEntity "kek.txt"]}
; 2022-05-11T22:34:38.074Z LAPTOP-7VGTS0VK ERROR [datahike.connector:86] - Error during transaction Can't use tempid in '[:db.fn/retractEntity "kek.txt"]'. Tempids are allowed in :db/add only
; Execution error (ExceptionInfo) at datahike.db/transact-tx-data (db.cljc:1958).
; Can't use tempid in '[:db.fn/retractEntity "kek.txt"]'. Tempids are allowed in :db/add only
Hi, could you provide your whole tx data if possible? How does your schema look like?
Here you go, schema and tx-data https://gist.github.com/TheExGenesis/475f28528b8082e5ee21d8823e518abe
Wondering if I should file a bug report