seancorfield / next-jdbc

A modern low-level Clojure wrapper for JDBC-based access to databases.
https://cljdoc.org/d/com.github.seancorfield/next.jdbc/
Eclipse Public License 1.0
755 stars 90 forks source link

on-connection macro to avoid type sniffing #204

Closed seancorfield closed 2 years ago

seancorfield commented 2 years ago

This is related to #193 and I'm resurrecting it because of https://github.com/weavejester/ragtime/issues/152

Clients sometimes need a Connection from an arbitrary "datasource" (Connectable or wrapped Connectable).

execute-batch! already does this -- expose that machinery to clients.