This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-10
Channels
- # announcements (16)
- # aws (1)
- # babashka (2)
- # beginners (33)
- # biff (2)
- # clj-kondo (13)
- # cljs-dev (1)
- # cljsrn (3)
- # clojars (6)
- # clojure (198)
- # clojure-australia (3)
- # clojure-europe (41)
- # clojure-france (3)
- # clojure-nl (2)
- # clojure-spec (7)
- # clojure-uk (12)
- # clojurescript (57)
- # clojureverse-ops (1)
- # code-reviews (3)
- # community-development (2)
- # conjure (10)
- # data-science (1)
- # datomic (15)
- # depstar (2)
- # docker (2)
- # etaoin (1)
- # events (1)
- # exercism (5)
- # fulcro (23)
- # helix (23)
- # introduce-yourself (4)
- # jobs (6)
- # kaocha (1)
- # lsp (11)
- # meander (107)
- # off-topic (8)
- # pathom (3)
- # polylith (33)
- # re-frame (23)
- # reagent (7)
- # reitit (28)
- # remote-jobs (3)
- # sci (1)
- # shadow-cljs (2)
- # specter (5)
- # sql (38)
- # tools-deps (72)
- # web-security (9)
- # xtdb (32)
Is the entity api only for on prem or an older api? I was using d/entity
in datomic free and after switching to dev-local and client api, I am not able to find this same functionality. Lastly, is there some doc I can refer to on the differences between the free and the dev-local version? I’m seeing some tutorials online that seem to have a mismatch between these versions. Thanks
yes, entity
doesn’t exist in cloud, pull
is the suggested alternative. you can find the differences here:
• https://docs.datomic.com/on-prem/cloud/moving-to-cloud.html
• https://docs.datomic.com/on-prem/overview/clients-and-peers.html
How can one go about debugging a datomic query? I’m hitting the wall with creating a recursive rule and I would love to be able to see why the query engine returns what it does. Is there any tooling out there for this?
As a general starting point, one can bind variables to partial results within the query and return that
I thought that would be easier to explain. All code is online: https://github.com/design-driven-research/grand-central/tree/add-datomic-dev-tools
Thanks for the thorough explanation. The first thing that popped to mind was https://docs.datomic.com/on-prem/query/pull.html#limited-recursion-example
Thanks for this, so is pull the only realistic way to go for something like this? Also, will recursive pull only work if using the same attr?
No, pull is not the only way: https://github.com/Datomic/mbrainz-sample/blob/master/src/clj/datomic/samples/mbrainz/rules.clj#L11
Thank you @U024X3V2YN4 I’m going to study this