Coverage for packages/sql-smith/src/sql_smith/capability/can_union.py: 50%
6 statements
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
1class CanUnionMixin:
2 def union(self, right: "StatementInterface") -> "UnionQuery":
3 from sql_smith.query.union_query import UnionQuery
5 return UnionQuery(self._engine, self, right)
7 def union_all(self, right: "StatementInterface") -> "UnionQuery":
8 return self.union(right).all()