This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-07
Channels
- # announcements (2)
- # babashka (38)
- # beginners (38)
- # calva (4)
- # cider (1)
- # clj-kondo (43)
- # clojure (50)
- # clojure-dev (39)
- # clojure-europe (4)
- # clojure-spec (4)
- # clojure-uk (2)
- # conjure (6)
- # core-async (5)
- # core-typed (3)
- # data-science (2)
- # datomic (6)
- # depstar (4)
- # emacs (1)
- # events (2)
- # fulcro (4)
- # jobs-discuss (4)
- # luminus (1)
- # off-topic (5)
- # re-frame (14)
- # shadow-cljs (8)
- # sql (8)
- # tools-deps (22)
@seancorfield what is your current thoughts around honeysql v2 and specific db operations (for example, I used left join lateral
today in a query which I hand crafted - which is a postgresql feature, although oracle has lateral and cross apply and mysql also has lateral).
@dharrigan It is very easy to register new clauses that behave like existing ones: (h2/register-clause! :left-join-lateral :join :right-join)
-- adds :left-join-lateral
to mean LEFT JOIN LATERAL
that is formatted exactly like the existing :join
clause and is inserted into the generation order just before :right-join
.
But it would be just a single line addition to the code base to add that in as core to v2. Yes, v2 only.
I hit a roadblock with v2 that I've been in my hammock thinking about since. I think I have a way forward now, but it's a substantial rewrite of the engine (no change to the API, I think).