I can\'t find a way to insert Postgres\' array type with Clojure.
(sql/insert! db :things {:animals [\"cow\" \"pig\"]})
Didn\'t work which I ki
A similar strategy that I've been using:
(defn vec->arr [array-vector] (.createArrayOf (j/get-connection db) "varchar" (into-array String array-vector))) (extend-protocol j/ISQLValue clojure.lang.IPersistentVector (sql-value [v] (vec->arr v)))