Fork me on GitHub
#sql
<
2022-04-05
>
seancorfield00:04:42

com.seancorfield/next.jdbc {:mvn/version "1.2.780"} is available: • Address https://github.com/seancorfield/next-jdbc/issues/204 by adding next.jdbc/on-connection. • Address https://github.com/seancorfield/next-jdbc/issues/203 by adding a note to the *PostgreSQL Tips &amp; Tricks* section. • Update build-clj to v0.8.0. This should help address the Ragtime issue mentioned above.

🎉 2
jmckitrick16:04:08

Does anyone here find much use for functions and procedures with clojure and our sql libraries, postgresql specifically?

seancorfield17:04:19

@jmckitrick Do you mean stored procedures (and user-defined SQL functions)? I pretty much never use either, regardless of DB, because I don't want some of my code in the database and the majority of it separately under version control. I've always avoided stored procs because of the versioning/ops complexity around that.

jmckitrick17:04:09

Yeah, I generally agree. Some years ago, my CTO was an avid fan. It was an interesting approach, and I was curious if it persists today.

richiardiandrea21:04:00

Hi there folks, is there a way to .setObject 's last parameter in clojure/java.jdbc I would like to do the following here and avoid PGObject- I am planning on using pgjdbc-ng https://stackoverflow.com/a/67034459/1888507