(self)
| 4890 | ) |
| 4891 | |
| 4892 | def test_in_subquery_explicit(self): |
| 4893 | t = table("t", column("x")) |
| 4894 | |
| 4895 | stmt = select(t.c.x).subquery() |
| 4896 | |
| 4897 | self.assert_compile( |
| 4898 | column("q").in_(stmt.select()), |
| 4899 | "q IN (SELECT anon_1.x FROM (SELECT t.x AS x FROM t) AS anon_1)", |
| 4900 | ) |
| 4901 | |
| 4902 | def test_in_subquery_alias_implicit(self): |
| 4903 | t = table("t", column("x")) |