From 9eb48f2c13b8a11af4904b435ff09a88d4988a9d Mon Sep 17 00:00:00 2001 From: gzeureka Date: Mon, 7 May 2012 17:15:08 +0800 Subject: [PATCH] Change: add :update-count to meta data of update! return value --- src/clojureql/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clojureql/core.clj b/src/clojureql/core.clj index 05004a3..6050eed 100644 --- a/src/clojureql/core.clj +++ b/src/clojureql/core.clj @@ -346,7 +346,7 @@ retr (with-cnx cnx (when *debug* (prn predicate)) (update-vals tname predicate record))] - (with-meta this (meta retr)))) + (with-meta this (assoc (meta retr) :update-count (first retr))))) (grouped [this field] ;TODO: We shouldn't call to-fieldlist here, first in the compiler