(self)
| 1234 | ) |
| 1235 | |
| 1236 | def test_query(self): |
| 1237 | A = self._fixture() |
| 1238 | sess = fixture_session() |
| 1239 | self.assert_compile( |
| 1240 | sess.query(A).filter(A.value(5) == "foo"), |
| 1241 | "SELECT a.id AS a_id, a.value AS a_value " |
| 1242 | "FROM a WHERE foo(a.value, :foo_1) + :foo_2 = :param_1", |
| 1243 | ) |
| 1244 | |
| 1245 | def test_aliased_query(self): |
| 1246 | A = self._fixture() |
nothing calls this directly
no test coverage detected