From 8841c2900f955e578698ca2c7385b63153439435 Mon Sep 17 00:00:00 2001 From: Erik Price Date: Wed, 25 Feb 2015 09:15:17 -0500 Subject: [PATCH] Remove redundant `defmethod build-clause :returning` The `defhelper returning` that is immediately below it is all we needed. --- src/honeysql/helpers.clj | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/honeysql/helpers.clj b/src/honeysql/helpers.clj index 817a6ff..c84c42e 100644 --- a/src/honeysql/helpers.clj +++ b/src/honeysql/helpers.clj @@ -37,11 +37,6 @@ (defhelper merge-from [m tables] (update-in m [:from] concat (collify tables))) -(defmethod build-clause :returning [_ m columns] - (if (empty? columns) - m - (assoc m :returning columns))) - (defhelper returning [m columns] (assoc m :returning (collify columns)))