(self)
| 1243 | ) |
| 1244 | |
| 1245 | def test_aliased_query(self): |
| 1246 | A = self._fixture() |
| 1247 | sess = fixture_session() |
| 1248 | a1 = aliased(A) |
| 1249 | self.assert_compile( |
| 1250 | sess.query(a1).filter(a1.value(5) == "foo"), |
| 1251 | "SELECT a_1.id AS a_1_id, a_1.value AS a_1_value " |
| 1252 | "FROM a AS a_1 WHERE foo(a_1.value, :foo_1) + :foo_2 = :param_1", |
| 1253 | ) |
| 1254 | |
| 1255 | def test_query_col(self): |
| 1256 | A = self._fixture() |
nothing calls this directly
no test coverage detected