Back
prepare (clj)
(source)protocol
(prepare this sql-params opts)
Produce a new `java.sql.PreparedStatement` for use with `with-open`.
Examples
seancorfield/next-jdbc
(ns ^:no-doc next.jdbc.default-options
"Implementation of default options logic."
(:require [next.jdbc.protocols :as p]))
(extend-protocol p/Preparable
DefaultOptions
(prepare [this sql-params opts]
(p/prepare (:connectable this) sql-params
(merge (:options this) opts))))