parent
7f0af8e4f0
commit
8784a104fb
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
## 0.9.10 -- unreleased
|
||||||
|
|
||||||
|
* Fix #254 #255 by adding support for `except`. (@ted-coakley-otm)
|
||||||
|
* Fix #253 properly by supporting `false` as well. (@ted-coakley-otm)
|
||||||
|
|
||||||
## 0.9.9
|
## 0.9.9
|
||||||
|
|
||||||
* Fix #253 by supporting non-sequential join expressions.
|
* Fix #253 by supporting non-sequential join expressions.
|
||||||
|
|
|
||||||
|
|
@ -545,7 +545,7 @@
|
||||||
(str (when type
|
(str (when type
|
||||||
(str (upper-case (name type)) " "))
|
(str (upper-case (name type)) " "))
|
||||||
"JOIN " (to-sql table)
|
"JOIN " (to-sql table)
|
||||||
(when pred
|
(when (some? pred)
|
||||||
(if (and (sequential? pred) (= :using (first pred)))
|
(if (and (sequential? pred) (= :using (first pred)))
|
||||||
(str " USING (" (->> pred rest (map quote-identifier) comma-join) ")")
|
(str " USING (" (->> pred rest (map quote-identifier) comma-join) ")")
|
||||||
(str " ON " (format-predicate* pred))))))
|
(str " ON " (format-predicate* pred))))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue