r"""Return a SQL ``UNION`` of this select() construct against the given selectables provided as positional arguments. :param \*other: one or more elements with which to create a UNION. .. versionchanged:: 1.4.28 multiple elements are now accepted.
(
self, *other: _SelectStatementForCompoundArgument[Unpack[_Ts]]
)
| 6925 | return SelectStatementGrouping(self) |
| 6926 | |
| 6927 | def union( |
| 6928 | self, *other: _SelectStatementForCompoundArgument[Unpack[_Ts]] |
| 6929 | ) -> CompoundSelect[Unpack[_Ts]]: |
| 6930 | r"""Return a SQL ``UNION`` of this select() construct against |
| 6931 | the given selectables provided as positional arguments. |
| 6932 | |
| 6933 | :param \*other: one or more elements with which to create a |
| 6934 | UNION. |
| 6935 | |
| 6936 | .. versionchanged:: 1.4.28 |
| 6937 | |
| 6938 | multiple elements are now accepted. |
| 6939 | |
| 6940 | :param \**kwargs: keyword arguments are forwarded to the constructor |
| 6941 | for the newly created :class:`_sql.CompoundSelect` object. |
| 6942 | |
| 6943 | """ |
| 6944 | return CompoundSelect._create_union(self, *other) |
| 6945 | |
| 6946 | def union_all( |
| 6947 | self, *other: _SelectStatementForCompoundArgument[Unpack[_Ts]] |
nothing calls this directly
no test coverage detected