This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-03
Channels
- # adventofcode (107)
- # announcements (1)
- # asami (14)
- # babashka (67)
- # beginners (89)
- # calva (34)
- # cider (17)
- # clj-kondo (5)
- # cljs-dev (2)
- # clojure (57)
- # clojure-europe (52)
- # clojure-india (1)
- # clojure-italy (1)
- # clojure-losangeles (2)
- # clojure-nl (6)
- # clojure-uk (39)
- # clojurescript (40)
- # community-development (3)
- # conjure (3)
- # cursive (17)
- # datomic (11)
- # docker (13)
- # events (3)
- # figwheel-main (3)
- # fulcro (12)
- # graalvm (7)
- # holy-lambda (7)
- # honeysql (9)
- # introduce-yourself (5)
- # malli (9)
- # minecraft (3)
- # missionary (21)
- # nextjournal (7)
- # off-topic (52)
- # pathom (3)
- # polylith (11)
- # portal (3)
- # re-frame (21)
- # reagent (34)
- # reclojure (7)
- # reitit (1)
- # reveal (11)
- # shadow-cljs (68)
- # tools-build (12)
- # tools-deps (5)
- # vim (4)
- # xtdb (9)
Is that possible drop the entity query drop after [?name :tg/contains ?h]
line? My code is:
(map #(d/entity db-p6 %)
(q '[:find [?h ...]
:where [?full :p-id :user-id]
[?full :p-tel ?name]
[?name :tg/contains ?h]]
db-p6))
; >> I get: ({..data..}{..data..}{..data..}) > that is ok
Sorry! I would like to get the data of the nodes without the first line ([:tg/node-59385] [:tg/node-59388] [:tg/node-59391])
is that possible add this at the end (:where part)?
(q '[:find [?h ...]
:where [?full :p-id :user-id]
[?full :p-tel ?name]
[?name :tg/contains ?h]
--> can I add here [?h :tg/entity or similar here?]
db-p6))