Merge fbcd6fbdce into 7001826d4b
This commit is contained in:
commit
66661d501c
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
## 0.6.2 In development
|
||||
|
||||
* Fix union clause (@dball)
|
||||
|
||||
## 0.6.1
|
||||
|
||||
* Define parameterizable protocol on nil (@dball)
|
||||
|
|
|
|||
|
|
@ -519,7 +519,7 @@
|
|||
(str "WITH RECURSIVE " (comma-join (map cte->sql ctes))))
|
||||
|
||||
(defmethod format-clause :union [[_ maps] _]
|
||||
(string/join " UNION " (map to-sql maps)))
|
||||
(str "UNION " (string/join " UNION " (map to-sql maps))))
|
||||
|
||||
(defmethod format-clause :union-all [[_ maps] _]
|
||||
(string/join " UNION ALL " (map to-sql maps)))
|
||||
(str "UNION ALL " (string/join " UNION ALL " (map to-sql maps))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue