sql

All things SQL and JDBC...
seancorfield 2021-03-16T00:24:07.052900Z

com.github.seancorfield/next.jdbc {:mvn/version "1.1.646"} — very minor release: adds a new arity to next.jdbc/execute-batch! so you can use it with a connectable (db-spec, datasource, connection) and provide a SQL string (as well as the param groups and options hash map) and it will take care of creating the PreparedStatement for you (and the Connection if necessary). I was originally thinking about extending the executable protocol but ultimately that would have been much more complicated (for very little benefit, if any, since the arguments already needed to be different to account for the SQL string.

Aviv Kotek 2021-03-22T13:55:26.040300Z

that's exactly the PS thing we discussed right? ty sean!

seancorfield 2021-03-22T15:26:43.040500Z

A form of it, I think.