This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-29
Channels
- # announcements (3)
- # babashka (47)
- # beginners (88)
- # calva (17)
- # clj-kondo (8)
- # cljdoc (1)
- # clojars (9)
- # clojure (98)
- # clojure-europe (53)
- # clojure-norway (2)
- # clojure-seattle (1)
- # clojure-uk (5)
- # clojurescript (20)
- # cursive (11)
- # data-oriented-programming (1)
- # data-science (3)
- # datahike (1)
- # datascript (3)
- # events (3)
- # graalvm (5)
- # honeysql (7)
- # hyperfiddle (1)
- # jobs-discuss (10)
- # leiningen (3)
- # malli (16)
- # music (4)
- # nbb (17)
- # off-topic (45)
- # pathom (9)
- # portal (7)
- # releases (1)
- # shadow-cljs (80)
- # sql (15)
- # tools-build (5)
- # xtdb (23)
Yesterday I opened a PR that completely removes honeysql v1 from our codebase. I wanted to say thank you @seancorfield for making this possible with the good decisions of honeysql v2. Much appreciated!
Is the migration from 1.x to 2.x something you might write up as a blog post or something?
We introduced the new library, decreed that no more new v1 code, and no changes to v1 code (if you want to change, rewrite to v2 first).
The new namespace was critical to be able to do it. If it was an in-place update, we wouldn't do it.
That sounds like how we're doing our migration too 🙂
I thinking about https://github.com/seancorfield/honeysql/issues/413 and wondered how many people are using the :checking
option already? I'm considering adding checks to :delete
, :delete-from
, and :update
to throw an exception if there is no :where
clause present or the :where
conditions are empty -- if :checking :strict
(or perhaps :checking :basic
). Are there valid scenarios for these three statements that do not delete/update all rows but also do not have WHERE
clauses?