Hey, I try to convert a clojure object vec
(or ISeq?) to a database type PgArray
using next-jdbc
; Converting from PgArray
to clojure type can be done using the ReadableColumn
protocol. But what’s the counterpart to convert a clojure type to a database type? Is it SettableParameter
or Executable
or am I re-inventing the wheel?
oh looks like it’s indeed the correct thingy to do; I just had a weird error because I missed another thing…
yay
@synthomat Sounds like you don't need help now but for the future that is all covered in the docs https://cljdoc.org/d/seancorfield/next.jdbc/1.1.569/doc/getting-started/tips-tricks#working-with-arrays specifically for PostgreSQL.