This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-06
Channels
- # aleph (1)
- # announcements (3)
- # asami (32)
- # aws (12)
- # babashka (6)
- # beginners (43)
- # calva (36)
- # cider (3)
- # clj-kondo (3)
- # cljs-dev (2)
- # clojars (6)
- # clojure (66)
- # clojure-europe (14)
- # clojure-uk (2)
- # clojurescript (12)
- # conjure (1)
- # core-async (27)
- # cursive (17)
- # data-science (9)
- # datahike (1)
- # datomic (28)
- # emacs (34)
- # events (1)
- # girouette (3)
- # jobs (1)
- # klipse (4)
- # lsp (26)
- # malli (5)
- # off-topic (38)
- # portal (1)
- # releases (1)
- # shadow-cljs (72)
- # sql (7)
- # tools-deps (5)
- # vim (9)
- # xtdb (18)
nav
and portal
right. How would you for example define it so you can click on a user id, then it navs to some overview query result. Isn't there something for datomic where entities are navable ?
@U02CV2P4J6S Not quite sure what you're asking here but the results of next.jdbc/execute!
and next.jdbc/execute-one!
are datafyable and navable -- and that works well with Portal.
So "It. Just. Works." -- you tap>
a next.jdbc
result set into Portal, expand to get to, say siteid
, and select its value, then enter
will nav
to the result of querying the site
table for a matching id
value.
that sounds ultra sick I have to try. How does it know which tables and such and which namespace is providing this?
It's explained in the docs. There's a default convention but you can override it with the :schema
option to tell next.jdbc
how to map columns as FKs.