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).
thanks for the info 🙂
that's exactly what I wanted
(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