This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-21
Channels
- # announcements (10)
- # aws (10)
- # babashka (23)
- # beginners (111)
- # biff (8)
- # calva (25)
- # clj-kondo (9)
- # cljsrn (4)
- # clojure (72)
- # clojure-belgium (6)
- # clojure-europe (50)
- # clojure-germany (2)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-uk (1)
- # datahike (3)
- # emacs (10)
- # graalvm (19)
- # graphql (3)
- # juxt (7)
- # kaocha (9)
- # malli (23)
- # nbb (20)
- # pathom (17)
- # pedestal (6)
- # polylith (11)
- # portal (8)
- # remote-jobs (3)
- # shadow-cljs (18)
- # sql (3)
- # tools-deps (20)
Hello! My current project uses clojure jdbc 1-st version. But I'm creating some extra migration code and looks like I may use clojure jdbc next (if it solves my promlem easy). I need a trivial thing - upsert-multi!
(for Postgres). For the first look I didn't fint it either in 1-st nor in next versions. What do you suggest - fighting with execute
in first one or in second one?
PS Postgres latest 15 with all features support
upsert
is DB-specific so you'd either need to write the SQL yourself or use HoneySQL to generate it. See https://cljdoc.org/d/com.github.seancorfield/honeysql/2.4.947/doc/getting-started/postgresql-support#upsert for examples of PostgreSQL-specific stuff that is supported.