This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-07
Channels
- # asami (1)
- # aws (2)
- # babashka (5)
- # babashka-sci-dev (162)
- # beginners (68)
- # biff (1)
- # calva (26)
- # circleci (4)
- # clj-kondo (5)
- # cljs-dev (7)
- # clojure (84)
- # clojure-europe (15)
- # clojure-uk (1)
- # clojured (2)
- # clojurescript (19)
- # conjure (1)
- # datomic (5)
- # emacs (2)
- # graalvm (20)
- # honeysql (6)
- # improve-getting-started (2)
- # kaocha (3)
- # lsp (31)
- # off-topic (7)
- # pathom (7)
- # releases (1)
- # shadow-cljs (1)
- # spacemacs (1)
- # vim (30)
I’d avoided honeysql and korma for years but playing with datalog rules prompted me to take another look. It's amazing! 2 questions how do I do subqueries and how do i call a function on an aliased column? Neither :%http://max.c.id nor :%max:http://c.id works
You can't use the shorthand function call syntax on compound names. Do this instead: [:max :c.id]
As for your other question, are you referring to something like this in the README? https://cljdoc.org/d/com.github.seancorfield/honeysql/2.2.891/doc/readme#nested-subqueries
This section of the README should answer your other question about function calls: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.2.891/doc/readme#functions
@kbosompem Does that help?
@seancorfield perfect! Thanks