This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-30
Channels
- # adventofcode (27)
- # ai (1)
- # announcements (2)
- # aws (66)
- # babashka (2)
- # beginners (34)
- # calva (28)
- # cider (5)
- # clj-kondo (18)
- # clojure (16)
- # clojure-europe (4)
- # clojure-norway (2)
- # clojure-uk (3)
- # clojurescript (11)
- # code-reviews (23)
- # conjure (23)
- # core-logic (1)
- # cursive (12)
- # datalevin (1)
- # datomic (9)
- # introduce-yourself (3)
- # kaocha (3)
- # klipse (4)
- # malli (42)
- # midje (1)
- # minecraft (1)
- # missionary (4)
- # music (1)
- # nextjournal (10)
- # polylith (5)
- # re-frame (2)
- # reitit (1)
- # releases (1)
- # sci (126)
- # shadow-cljs (4)
- # sql (2)
- # tools-deps (11)
Hey, I am trying to insert record using next-jdbc
while selects returns qualified keys, doing execute-one!
or execute!
on inserts is returning plain keywords as keys, do I need to qualify them on my own? I presume it doesnt know anything about entity when performing insert (as its just some sql) while in select keys are namespaced as it can be infered from selects output.
@roguas next.jdbc
just uses the information that the JDBC driver provides. For example, an insert on MySQL returns GENERATED_KEY but PostgreSQL returns column names.