From 404c0b7272ff7c80c85e9d67ba73597ca9fc4406 Mon Sep 17 00:00:00 2001 From: "Alexander K. Hudek" Date: Tue, 20 Jan 2015 17:50:42 -0500 Subject: [PATCH] Clean up namespace from porting. --- src/honeysql/format.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/honeysql/format.clj b/src/honeysql/format.clj index 627753a..1720986 100644 --- a/src/honeysql/format.clj +++ b/src/honeysql/format.clj @@ -397,8 +397,8 @@ (defmethod format-clause :with-recursive [[_ ctes] _] (str "WITH RECURSIVE " (comma-join (map cte->sql ctes)))) -(defmethod fmt/format-clause :union [[_ maps] _] - (string/join " UNION " (map fmt/to-sql maps))) +(defmethod format-clause :union [[_ maps] _] + (string/join " UNION " (map to-sql maps))) -(defmethod fmt/format-clause :union-all [[_ maps] _] - (string/join " UNION ALL " (map fmt/to-sql maps))) \ No newline at end of file +(defmethod format-clause :union-all [[_ maps] _] + (string/join " UNION ALL " (map to-sql maps))) \ No newline at end of file