From b8e4d72d52e00c82748978779de03d520e6d1cbb Mon Sep 17 00:00:00 2001 From: Kevin van Rooijen Date: Tue, 24 Dec 2019 02:03:24 +0100 Subject: [PATCH] Don't namespace table names --- src/honeysql/format.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/honeysql/format.cljc b/src/honeysql/format.cljc index f03801b..b9fb16f 100644 --- a/src/honeysql/format.cljc +++ b/src/honeysql/format.cljc @@ -97,7 +97,7 @@ s (cond (or (keyword? x) (symbol? x)) (name-transform-fn - (cond *namespace-as-table?* + (cond (and *namespace-as-table?* (not= :from *clause*)) (str (when-let [n (namespace x)] (str n ".")) (name x))