This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-12
Channels
- # babashka (3)
- # beginners (9)
- # clojure (13)
- # clojure-dev (3)
- # clojure-europe (50)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (3)
- # clojurescript (3)
- # core-async (2)
- # dev-tooling (2)
- # honeysql (4)
- # hyperfiddle (2)
- # kaocha (1)
- # lsp (5)
- # off-topic (18)
- # polylith (4)
- # portal (2)
- # shadow-cljs (19)
- # squint (1)
- # vrac (1)
How does one do this in honeysql?
SELECT *, 'period-change' AS event_name FROM `period-change`;
✅ [solved](sql/format {:select [:* [[:inline "period-change"] :event_name]]
:from :period-change}
:dialect :mysql)
=> ["SELECT *, 'period-change' AS `event_name` FROM `period-change`"]