(self)
| 75 | ) |
| 76 | |
| 77 | def test_standalone_implicit_subquery(self): |
| 78 | table1 = self.tables.people |
| 79 | subq = select(table1.c.people_id) |
| 80 | |
| 81 | # alias name is not rendered because subquery is not |
| 82 | # in the context of a FROM clause |
| 83 | self.assert_compile( |
| 84 | lateral(subq, name="alias"), |
| 85 | "LATERAL (SELECT people.people_id FROM people)", |
| 86 | ) |
| 87 | |
| 88 | self.assert_compile( |
| 89 | subq.lateral(name="alias"), |
| 90 | "LATERAL (SELECT people.people_id FROM people)", |
| 91 | ) |
| 92 | |
| 93 | def test_select_from(self): |
| 94 | table1 = self.tables.people |
nothing calls this directly
no test coverage detected