[JDBC-52] Allow execute! to do batch updates via :multi? optional argument Created: 19/Apr/13 Updated: 01/Jun/16 Resolved: 19/Apr/13
|Reporter:||Sean Corfield||Assignee:||Sean Corfield|
See https://groups.google.com/d/msg/clojure-java-jdbc/H3spAaWgkZI/9WJPXJsHiVsJ for background and justification.
execute! would take an optional :multi? argument, default false, and execute-helper would either call db-do-prepared directly (as it does now) or apply it, assuming (rest sql-params) is a sequence of vectors, which would become multiple params-groups.
I think this would also allow insert! to be simplified and implemented in terms of execute! which would be a nice symmetry.
|Comment by Sean Corfield [ 19/Apr/13 9:18 PM ]|
Implemented. Will be in alpha2.