This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-16
Channels
- # announcements (5)
- # asami (4)
- # babashka (72)
- # beginners (241)
- # calva (15)
- # cider (2)
- # circleci (5)
- # clara (41)
- # clj-kondo (38)
- # cljsrn (4)
- # clojars (33)
- # clojure (283)
- # clojure-europe (41)
- # clojure-nl (9)
- # clojure-uk (11)
- # clojuredesign-podcast (14)
- # clojurescript (76)
- # conjure (12)
- # cryogen (42)
- # data-science (1)
- # datalog (6)
- # datomic (7)
- # depstar (10)
- # events (2)
- # figwheel-main (1)
- # fulcro (22)
- # funcool (1)
- # london-clojurians (1)
- # malli (8)
- # meander (11)
- # off-topic (12)
- # pathom (19)
- # re-frame (8)
- # reveal (34)
- # shadow-cljs (34)
- # sql (7)
- # vim (8)
- # xtdb (6)
is it possible to get the columns in order/column order of a query? 🙂 since I get the data as hash maps I don't know how to retain column order.
@saikyun If you ask for the results to come back as vectors, the columns (the first vector in the result) will be in natural order.
If you're using next.jdbc
, you can also call next.jdbc.result-set/get-column-names
on a ResultSetMetaData
object to get them in order (or any of its variants).
(and if you're inside a reducing function operating on rows from plan
you can call column-names
on the row and get them)
People using SQL Server on Windows can now speak to it from babashka using a pod written in C#: https://github.com/xledger/pod_sql_server