From 9abf9f6380dd32ab3cac8258b7ba63da480c652a Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Thu, 4 Apr 2019 20:25:20 -0700 Subject: [PATCH] Fix update count key to :next.jdbc/update-count --- src/next/jdbc/result_set.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/next/jdbc/result_set.clj b/src/next/jdbc/result_set.clj index e039ded..2677d16 100644 --- a/src/next/jdbc/result_set.clj +++ b/src/next/jdbc/result_set.clj @@ -139,8 +139,8 @@ function and initial value. If the statement yields neither a ResultSet nor generated keys, return - a hash map containing ::update-count and the number of rows updated, - with the supplied function and initial value applied." + a hash map containing :next.jdbc/update-count and the number of rows + updated, with the supplied function and initial value applied." [^PreparedStatement stmt f init opts] (if-let [^ResultSet rs (if (.execute stmt) (.getResultSet stmt) @@ -156,7 +156,7 @@ @result (recur result))) init'))) - (f init {::update-count (.getUpdateCount stmt)}))) + (f init {:next.jdbc/update-count (.getUpdateCount stmt)}))) (extend-protocol p/Executable java.sql.Connection