This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-15
Channels
- # babashka (3)
- # beginners (28)
- # calva (8)
- # cider (16)
- # clj-on-windows (4)
- # clojure (69)
- # clojure-europe (29)
- # clojure-norway (42)
- # clojure-uk (4)
- # community-development (5)
- # conjure (3)
- # cursive (18)
- # datomic (68)
- # emacs (23)
- # events (1)
- # honeysql (7)
- # introduce-yourself (1)
- # jobs (1)
- # lsp (11)
- # music (1)
- # observability (3)
- # off-topic (35)
- # other-languages (33)
- # releases (1)
- # remote-jobs (2)
- # ring (18)
- # shadow-cljs (16)
- # timbre (5)
- # tools-deps (9)
pod.xledger.sql-server 1.0.0: https://github.com/xledger/pod_sql_server
This babashka pod for communicating with MS SQL Server (supports integrated authentication) is now released as a dotnet tool
, so it is easy to install and run:
dotnet tool install --global pod.xledger.sql_server
Then in your script:
(require '[babashka.pods :as pods])
(pods/load-pod ["pod_xledger_sql_server"])
(require '[pod.xledger.sql-server :as sql])
(println
(sql/execute! {
:connection-string "Data Source=my.db.host;Application Name=my.script;Initial Catalog=my_db_name;Integrated Security=True"
:command-text "select top 1 * from sys.objects"}))
🎉 3