This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-04
Channels
- # announcements (30)
- # aws (7)
- # babashka (7)
- # beginners (64)
- # calva (39)
- # cherry (17)
- # cider (1)
- # clj-on-windows (6)
- # clojure (30)
- # clojure-austin (12)
- # clojure-europe (25)
- # clojure-france (1)
- # clojure-nl (2)
- # clojure-norway (23)
- # clojure-spec (23)
- # clojure-uk (6)
- # clojurescript (20)
- # cursive (18)
- # datahike (3)
- # datalevin (12)
- # datomic (9)
- # etaoin (5)
- # graalvm (45)
- # instaparse (2)
- # interceptors (11)
- # kaocha (1)
- # lsp (102)
- # meander (6)
- # nbb (16)
- # off-topic (30)
- # pathom (83)
- # pedestal (6)
- # portal (5)
- # re-frame (12)
- # reitit (5)
- # rewrite-clj (10)
- # scittle (35)
- # shadow-cljs (49)
- # spacemacs (10)
- # vim (14)
I see that babashka invokes java to download dependencies, are there other cases where babashka invokes java? According to the docs, looks like this is the only case
I'm thinking on using HugSql in babaska. I've included the dependencies and required it, but when execute def-db-fn it complaints that I should set the adaptor. Tried next.jdbc adaptor but fails when I require it. I'm using babasha postgres pod for db connection. Should I use another adaptor? Can this be done? Thanks in advance
@UM4CBJVLZ bb doesn't support making queries to a database via hugsql directly as it needs the database drivers which aren't included in bb. but hugsql.core + sqlvec functions do work (which just require parsing text files), so you can construct the query and then hand the query off to bb sql pods
In this case HugSql is a better option. Using the sqlvec functions is a great solution, many thanks!
The discussion on this, for context: https://github.com/babashka/babashka/discussions/945