Final optimization on stmt-sql return-keys
This commit is contained in:
parent
cd3ddc3181
commit
bb0447a14e
1 changed files with 1 additions and 2 deletions
|
|
@ -880,8 +880,7 @@
|
|||
(.getConnection this) this go (assoc opts :return-keys true))]
|
||||
(recur (.getMoreResults this) (conj acc rs))
|
||||
acc))
|
||||
(if-let [rs (stmt-sql->result-set this (first sql-params)
|
||||
(assoc opts :return-keys true))]
|
||||
(if-let [rs (stmt-sql->result-set this (first sql-params))]
|
||||
(datafiable-result-set rs (.getConnection this) opts)
|
||||
[{:next.jdbc/update-count (.getUpdateCount this)}])))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue