This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-11
Channels
- # announcements (1)
- # aws (3)
- # beginners (48)
- # calva (2)
- # cider (47)
- # clj-kondo (1)
- # cljs-dev (23)
- # cljsrn (10)
- # clojure (81)
- # clojure-chicago (4)
- # clojure-europe (3)
- # clojure-greece (4)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (6)
- # clojure-sanfrancisco (1)
- # clojure-seattle (1)
- # clojure-uk (21)
- # clojurescript (40)
- # core-async (82)
- # cursive (18)
- # datomic (6)
- # duct (11)
- # figwheel-main (4)
- # fulcro (26)
- # jobs-discuss (22)
- # leiningen (18)
- # off-topic (10)
- # pathom (3)
- # re-frame (5)
- # reagent (16)
- # reitit (4)
- # shadow-cljs (8)
- # specter (7)
- # sql (16)
- # tools-deps (58)
- # xtdb (30)
@seancorfield I finally managed to use jdbc.next with a local-jar driver for a custom db ! it works now.. 🚀. the most difficult pb I had was to build the jar local repo with mvn, and understanding the classpath jdbc functionality .. but i could get the DB version via query ! 🚀
I saved it to
def version
var. version in repl i have something like that
[#:M_DATABASE_{:SYSTEM_ID "PRD",
:DATABASE_NAME "SYSTEMDB",
How can I acess the values? It looks to me that execute! returns a vector , but I'm struggling to access it for just getting a value like :DATABASE_NAME
:thinking_face:
If anyone has some links docs about how to create namespaced-qualified keys feel free to share 😁
execute-one!
will return a single row. execute!
will always return a vector.
I guess you haven't used clojure.spec
yet? 🙂
https://clojure.org/reference/reader#_maps talks about qualified keys in maps.
A look at what's coming in seancorfield/next.jdbc
1.0.2 (next week): https://github.com/seancorfield/next-jdbc/releases/tag/untagged-0c6ba73883a324cf228b