This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-04
Channels
- # announcements (7)
- # aws (5)
- # babashka (72)
- # beginners (43)
- # calva (12)
- # cider (9)
- # clara (3)
- # clj-kondo (12)
- # cljdoc (32)
- # cljs-dev (10)
- # cljsrn (1)
- # clojure (78)
- # clojure-dev (50)
- # clojure-europe (17)
- # clojure-gamedev (8)
- # clojure-nl (1)
- # clojure-spec (30)
- # clojure-uk (3)
- # clojurescript (52)
- # core-async (1)
- # cursive (5)
- # datomic (8)
- # emacs (58)
- # events (2)
- # fulcro (5)
- # graalvm (7)
- # holy-lambda (37)
- # honeysql (9)
- # jobs (5)
- # leiningen (3)
- # lsp (7)
- # lumo (2)
- # malli (3)
- # meander (13)
- # membrane-term (64)
- # missionary (19)
- # music (3)
- # nextjournal (8)
- # off-topic (29)
- # pathom (16)
- # polylith (14)
- # portal (16)
- # re-frame (2)
- # reagent (5)
- # sci (14)
- # shadow-cljs (20)
- # spacemacs (6)
- # sql (1)
- # tools-deps (58)
- # vim (14)
Does bin/datomic ensure-transactor my-transactor.properties my-transactor.properties
not work for sql storage?
When I copy the config/sample/sql-transactor-template.properties and run bin/datomic ensure-transactor` i get the error:
bin/datomic ensure-transactor config/samples/sql-transactor-template.properties config/samples/sql-transactor-template.properties
java.lang.IllegalArgumentException: No method in multimethod 'ensure-transactor*' for dispatch value: :sql
What are entity id ranges for the db, tx and user partitions?
Use the d/entid-at function in the peer api to construct some and find out. I’ve been told cloud entity ids may have a different structure
Should trailing _
s in where clauses always be elided? e.g., [:find ?e :where [?e :a _]]
is always preferred over [:find ?e :where [?e :a]]
.
I personally like the underscore. To me it shows that the binding was not forgotten, but it was explicitly ignored.
Not really. I would use it when you have to e.g [_ ...] Keep in mind, there are 5 elements in that tuple, you are typically ignoring 2.