From fe513564989d9151a79d5494f2958ae190c20d02 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Tue, 12 Nov 2013 16:58:44 +1100 Subject: Change the query executor model: now it's query local and the interface is managed by a protocol. --- src/clojure_sql/compiler.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clojure_sql/compiler.clj') diff --git a/src/clojure_sql/compiler.clj b/src/clojure_sql/compiler.clj index 87899f9..50c14af 100644 --- a/src/clojure_sql/compiler.clj +++ b/src/clojure_sql/compiler.clj @@ -254,7 +254,7 @@ -(defn compile-insert [db {:keys [fields tables joins]} & records] +(defn compile-insert [db {:keys [fields tables joins]} records] (assert (= (count tables) 1) "Cannot insert into a multiple-table query") (let [fields-order (map key fields) wrap #(str "INSERT INTO " -- cgit v1.2.3