Fork me on GitHub

i'm using this snippet to convert a map into an array of arrays (into-array (map (fn [[k v]] (into-array String [(str k) v])) mapping))


but I get when I try to use nsql/update

Execution error (PSQLException) at org.postgresql.jdbc.PgPreparedStatement/setObject (
Can't infer the SQL type to use for an instance of [[Ljava.lang.String;. Use setObject() with an explicit Types value to specify the type to use.