Address #138 : add priority for union/union-all
By prioritizing union / union-all to happen early on, complex queries with order by / limit / offset etc will be correctly formatted _after_ the union / union-all clause has been formatted.
This commit is contained in:
parent
d700034f62
commit
6a0eacdd5f
1 changed files with 3 additions and 1 deletions
|
|
@ -174,7 +174,9 @@
|
|||
|
||||
(def default-clause-priorities
|
||||
"Determines the order that clauses will be placed within generated SQL"
|
||||
{:with 30
|
||||
{:union 20
|
||||
:union-all 25
|
||||
:with 30
|
||||
:with-recursive 40
|
||||
:select 50
|
||||
:insert-into 60
|
||||
|
|
|
|||
Loading…
Reference in a new issue