Select[A] should have new parameter union: List[Union[A]]
case class Union[A](select: Select[A], unionAll: Boolean)
Select[A] is parameterised by the columns being selected. Therefore as long as both Selects in a union or unionAll have the same type parameter the generated sql will run correctly
There is an open question as to how extractors will interact with a unioned select statement as currently they overwrite the columns being selected
mapColumns will need to be updated to handle the new unioned select statement
Select[A]
should have new parameterunion: List[Union[A]]
case class Union[A](select: Select[A], unionAll: Boolean)
Select[A]
is parameterised by the columns being selected. Therefore as long as bothSelect
s in aunion
orunionAll
have the same type parameter the generated sql will run correctlyThere is an open question as to how extractors will interact with a unioned select statement as currently they overwrite the columns being selected
mapColumns will need to be updated to handle the new unioned select statement