com.github.seancorfield/honeysql {:mvn/version "2.0.0-rc2"}
— https://github.com/seancorfield/honeysql/releases/tag/v2.0.0-rc2 — bug fixes for JOIN, %
function syntax (thanks to @zugnush), more control over quoted entity rendering.
Just tried out 2.0.0-rc2; and it indeed fixes my issue. Epic 🙂 Thanks again
Another question, I noticed :%coalesce.a/id.b/id.c/id
will format correctly in 2.0.0-rc2; But because it's not a valid keyword, Cursive prevents me from sending the form to the repl.
Is there an alternative without resorting to :raw
:thinking_face:?
You can either a) (keyword "%coalesce.a/id.b/id.c/id")
or b) '%coalesce.a/id.b/id.c/id
-- since symbols work as well as keywords (but the latter may be illegal for Cursive too?).
FWIW, that keyword is just plain old illegal in ClojureScript, so even in the test suite I have to construct it programmatically by calling keyword
.
That works, Thanks. Cursive indeed triggers the same "syntax error" on the symbol.