Remove redundant defmethod build-clause :returning
The `defhelper returning` that is immediately below it is all we needed.
This commit is contained in:
parent
403fb33fc4
commit
8841c2900f
1 changed files with 0 additions and 5 deletions
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue