This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-27
Channels
- # announcements (10)
- # beginners (95)
- # biff (2)
- # calva (33)
- # cherry (1)
- # clj-kondo (16)
- # clojure (96)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (42)
- # clojure-filipino (1)
- # clojure-france (2)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-norway (24)
- # clojure-sg (11)
- # clojure-taiwan (1)
- # clojure-uk (1)
- # clojurescript (21)
- # cursive (22)
- # data-science (3)
- # events (7)
- # fulcro (3)
- # graalvm (4)
- # gratitude (6)
- # helix (11)
- # honeysql (7)
- # hoplon (1)
- # introduce-yourself (1)
- # jobs (2)
- # jobs-discuss (16)
- # lsp (15)
- # malli (14)
- # nbb (73)
- # practicalli (3)
- # reagent (8)
- # reitit (5)
- # releases (1)
- # ring (5)
- # rum (3)
- # sci (17)
- # scittle (7)
- # shadow-cljs (22)
- # tools-deps (26)
- # xtdb (9)
Hello! Does honeysql support *<<https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html#operator_equal-to%7C<=>>*(null-safe> operator) in mysql? I’ve checked out <https://github.com/seancorfield/honeysql/blob/develop/doc/operator-reference.md|here>. Is there any workaround instead of `:raw`?
It's not built-in but that example is specifically given in both the README https://cljdoc.org/d/com.github.seancorfield/honeysql/2.3.928/doc/readme#extensibility and Extending HoneySQL https://cljdoc.org/d/com.github.seancorfield/honeysql/2.3.928/doc/extending-honeysql#registering-a-new-operator
Feel free to create a GH issue so it gets registered by default when the :mysql
dialect is selected.
(I've used MySQL for over a decade and I've never encountered that operator!)
Maybe it's new in 8.0? (we're still on 5.7 for... reasons...)
Aha, I was about to mention that it should be possible to patch into HoneySQL by using
register-op!
I also can't say I've used <=>
before, but I mostly use PostgreSQL, which probably lacks itThanks you all. I would try to use register op first.