Fork me on GitHub

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 Kotek13:03:26

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


A form of it, I think.