This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-29
Channels
- # aws-lambda (13)
- # beginners (4)
- # cider (6)
- # cljs-dev (1)
- # cljsrn (4)
- # clojure (134)
- # clojure-android (7)
- # clojure-dev (14)
- # clojure-russia (18)
- # clojure-spec (3)
- # clojurescript (81)
- # core-matrix (2)
- # datomic (9)
- # figwheel (1)
- # hoplon (11)
- # lumo (10)
- # off-topic (18)
- # onyx (78)
- # pedestal (5)
- # portkey (2)
- # re-frame (8)
- # reagent (3)
- # rum (1)
- # spacemacs (23)
- # yada (5)
Hey! How are you doing?
If I have an identifier for a :db/ident
(e.g.: 17592186045423
), is there a way to check/query its corresponding keyword?
I'm using these :db/ident
s as enumerated types, and when I grab the ref type
in a query they are retrieved as a :db/id
s, and I want to know their meaning 🙂
Woot! Got it.
(defn query-schema-idents! []
(let [idents (<!! (d/q conn {:query '[:find ?id ?ident
:where [?id :db/ident ?ident]]
:args [db]}))]
(println idents)))
@cauli.tomaz just use datomic.api/ident :)
That is nice to know, @val_waeselynck, thanks. But I'm using the Client API and ident is not available, I forgot to mention that.
Hi, I'm trying to include the Datomic Peer library in my leiningen project. The documentation says that I can include something like this - [com.datomic/datomic-EDITION "VERSION"] - in my project.clj. I put [com.datomic/datomic-pro "0.9.5561"] in but got an error saying: Could not find artifact com.datomic:datomic-pro:jar:0.9.5561 in central (https://repo1.maven.org/maven2/) Could not find artifact com.datomic:datomic-pro:jar:0.9.5561 in clojars (https://clojars.org/repo/) Can anyone tell me how to include the Peer library in my project correctly?
You also need to add the datomic maven repository with credentials (which are specific to you). See https://my.datomic.com after logging in