Closed syunta closed 4 years ago
@syunta
My inclination is to add a union-all
formatter&helper over updating union
to support modifiers. (unless there are other flavors of union that could be supported...)
Reason being union's syntactic handling is different from the select
from
join
where
that threads nicely with ->
so not sure if the concept of modifiers fit. Modifier implies there is an existing sql thing to be modified but in the first example it is behaving more like an option.
What do you think?
@iku000888
I agree with you👌 I was thinking of UNION [ALL DISTINCT], but distinct is supported by mysql only. (other RDMS's union is equivalent to union distinct). So I rejudged distinct need not be supported.
I will add union-all. May I start to resolve this issue?
Go for it :rocket: :tada:
I want to write union-all on stch.sql support.
Maybe we could write union-all as following. I think this is natural.
example:
or