better spacing for modifiers
This commit is contained in:
parent
5c2e25abd7
commit
92aa49deeb
1 changed files with 4 additions and 3 deletions
|
|
@ -154,9 +154,10 @@
|
|||
|
||||
(defmethod format-clause :select [[_ fields] sql-map]
|
||||
(str "SELECT "
|
||||
(space-join (map (comp string/upper-case name)
|
||||
(:modifiers sql-map)))
|
||||
" "
|
||||
(when (:modifiers sql-map)
|
||||
(str (space-join (map (comp string/upper-case name)
|
||||
(:modifiers sql-map)))
|
||||
" "))
|
||||
(comma-join (map to-sql fields))))
|
||||
|
||||
(defmethod format-clause :from [[_ tables] _]
|
||||
|
|
|
|||
Loading…
Reference in a new issue