(self)
| 4628 | ) |
| 4629 | |
| 4630 | def test_in_cte_explicit(self): |
| 4631 | t = table("t", column("x")) |
| 4632 | |
| 4633 | stmt = select(t.c.x).cte() |
| 4634 | |
| 4635 | s2 = select(column("q").in_(stmt.select().scalar_subquery())) |
| 4636 | |
| 4637 | self.assert_compile( |
| 4638 | s2, |
| 4639 | "WITH anon_2 AS (SELECT t.x AS x FROM t) " |
| 4640 | "SELECT q IN (SELECT anon_2.x FROM anon_2) AS anon_1", |
| 4641 | ) |
| 4642 | |
| 4643 | def test_in_cte_select(self): |
| 4644 | t = table("t", column("x")) |
nothing calls this directly
no test coverage detected