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[_TP]
)
| 6636 | return SelectStatementGrouping(self) |
| 6637 | |
| 6638 | def union( |
| 6639 | self, *other: _SelectStatementForCompoundArgument[_TP] |
| 6640 | ) -> CompoundSelect[_TP]: |
| 6641 | r"""Return a SQL ``UNION`` of this select() construct against |
| 6642 | the given selectables provided as positional arguments. |
| 6643 | |
| 6644 | :param \*other: one or more elements with which to create a |
| 6645 | UNION. |
| 6646 | |
| 6647 | .. versionchanged:: 1.4.28 |
| 6648 | |
| 6649 | multiple elements are now accepted. |
| 6650 | |
| 6651 | :param \**kwargs: keyword arguments are forwarded to the constructor |
| 6652 | for the newly created :class:`_sql.CompoundSelect` object. |
| 6653 | |
| 6654 | """ |
| 6655 | return CompoundSelect._create_union(self, *other) |
| 6656 | |
| 6657 | def union_all( |
| 6658 | self, *other: _SelectStatementForCompoundArgument[_TP] |
nothing calls this directly
no test coverage detected