This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-10
Channels
- # beginners (35)
- # cider (165)
- # cljsrn (18)
- # clojars (1)
- # clojure (141)
- # clojure-greece (2)
- # clojure-italy (11)
- # clojure-nl (1)
- # clojure-spec (21)
- # clojure-uk (89)
- # clojurescript (56)
- # community-development (3)
- # cursive (3)
- # data-science (55)
- # datomic (13)
- # emacs (12)
- # fulcro (31)
- # graphql (6)
- # jobs-discuss (35)
- # lein-figwheel (10)
- # mount (2)
- # off-topic (3)
- # onyx (22)
- # parinfer (4)
- # portkey (7)
- # re-frame (29)
- # ring-swagger (4)
- # shadow-cljs (37)
- # specter (9)
- # sql (30)
- # tools-deps (15)
- # vim (2)
- # yada (17)
That Clojure 1.9 namespace qualified map syntax, it.e equivalent to {:selections :Prestado/:nm_usuario}
(that is, the #:
reader macro preprends the namespace to all keys in the map).
Is possible to access programatically ?
I'm aiming for relating this information with underlying table information to build a sql query
(comp namespace ffirst)
I'm not quite following you. This information is available inside a resolver function. Do what you want with it there, such as create a SQL query. If you need to extract data at this level but use it at a lower level, you can use the resolve/with-context
modifier to pass context data to nested resolvers in the context.
I'm poking with the possibility of coding a generic resolver function to build a sql query. First step was extract that namespace. Thank you for the map information. I was not aware of it