(self)
| 685 | assert x not in mapping |
| 686 | |
| 687 | def test_subquery_accessors(self): |
| 688 | t = self._xy_table_fixture() |
| 689 | |
| 690 | s = text("SELECT x from t").columns(t.c.x) |
| 691 | |
| 692 | self.assert_compile( |
| 693 | select(s.scalar_subquery()), "SELECT (SELECT x from t) AS anon_1" |
| 694 | ) |
| 695 | self.assert_compile( |
| 696 | select(s.subquery()), |
| 697 | "SELECT anon_1.x FROM (SELECT x from t) AS anon_1", |
| 698 | ) |
| 699 | |
| 700 | def test_select_label_alt_name_table_alias_column(self): |
| 701 | t = self._xy_table_fixture() |
nothing calls this directly
no test coverage detected