hugsql

asilverman 2019-06-07T00:09:56.002Z

I came up with something like

-- :name mytest :? :*
/* :require [clojure.string :as string] */
SELECT --~ (string/join ", " (map-indexed (fn [index _] (str "a.:i:cols." index)) (:cols params)))
FROM (:snip:table-name) AS a