I've found myself needing first-class support recently for a lot of more advanced SQL features, such that parameters are used correctly, and finding neither Prefix nor Suffix really work for what I'm doing. This is the first of a handful of small PRs adding support for some of these features.
This one adds Union and UnionAll support. It adds the target query to a new internal storage part, combiningParts, which could also be used in the future to support INTERSECT or EXCEPT combining clauses.
I've found myself needing first-class support recently for a lot of more advanced SQL features, such that parameters are used correctly, and finding neither
Prefix
norSuffix
really work for what I'm doing. This is the first of a handful of small PRs adding support for some of these features.This one adds
Union
andUnionAll
support. It adds the target query to a new internal storage part,combiningParts
, which could also be used in the future to supportINTERSECT
orEXCEPT
combining clauses.