(self, combinator, *other_qs, all=False)
| 1698 | return self._filter_or_exclude(False, args=(), kwargs=filter_obj) |
| 1699 | |
| 1700 | def _combinator_query(self, combinator, *other_qs, all=False): |
| 1701 | # Clone the query to inherit the select list and everything |
| 1702 | clone = self._chain() |
| 1703 | # Clear limits and ordering so they can be reapplied |
| 1704 | clone.query.clear_ordering(force=True) |
| 1705 | clone.query.default_ordering = True |
| 1706 | self._clear_ordering_in_combined_queries(clone.query, other_qs) |
| 1707 | clone.query.clear_limits() |
| 1708 | clone.query.combinator = combinator |
| 1709 | clone.query.combinator_all = all |
| 1710 | return clone |
| 1711 | |
| 1712 | def union(self, *other_qs, all=False): |
| 1713 | # If the query is an EmptyQuerySet, combine all nonempty querysets. |
no test coverage detected