From 82aa383a9c0f9d9d921135a10e919125d9115924 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Sun, 16 Jun 2013 00:36:36 +1000 Subject: Bring the DSL back up to previous features, fix the compiler It should generally be usable at this point. It should generate the queries correctly (including join order and stuff) and approximately properly do things. The type of join stuff still hasn't been finished, but if the code were left as-is it would still be possible to get whatever you wanted out of it, I think. Basically: lots of work has been done and we're approaching something more usable. --- src/clojure_sql/util.clj | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/clojure_sql/util.clj') diff --git a/src/clojure_sql/util.clj b/src/clojure_sql/util.clj index f2edf30..3dfe948 100644 --- a/src/clojure_sql/util.clj +++ b/src/clojure_sql/util.clj @@ -24,3 +24,6 @@ (apply map-kv (fn [k & vs] [k (apply f vs)]) maps)) + +(defn named? [x] + (some #(% x) [keyword? string? symbol?])) -- cgit v1.2.3