sql

All things SQL and JDBC...
2020-06-10T15:50:02.240100Z

hey yall, does anyone know if next.jdbc works with multidimensional arrays? I've seen this: https://github.com/seancorfield/next-jdbc/blob/8f6844aa5dfa32671306d8a318c648270a3b5a99/doc/tips-and-tricks.md#working-with-arrays

2020-06-10T15:51:13.240700Z

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))

2020-06-10T15:51:36.241200Z

but I get when I try to use nsql/update

Execution error (PSQLException) at org.postgresql.jdbc.PgPreparedStatement/setObject (PgPreparedStatement.java:955).
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.