From dcb632d7cfa218fdfcb97775a80c8b6cc709fedb Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Mon, 8 Jul 2019 12:40:19 -0700 Subject: [PATCH] Make it clear that next.jdbc.prepare/create should not be called --- src/next/jdbc/prepare.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/next/jdbc/prepare.clj b/src/next/jdbc/prepare.clj index 33e5a51..ed8afea 100644 --- a/src/next/jdbc/prepare.clj +++ b/src/next/jdbc/prepare.clj @@ -72,7 +72,9 @@ (into-array String return-keys)) (defn create - "Given a `Connection`, a SQL string, some parameters, and some options, + "This is an implementation detail -- use `next.jdbc/prepare` instead. + + Given a `Connection`, a SQL string, some parameters, and some options, return a `PreparedStatement` representing that." ^java.sql.PreparedStatement [^Connection con ^String sql params