(self)
| 3944 | assert ta.c.x not in mapping |
| 3945 | |
| 3946 | def test_column_subquery_exists(self): |
| 3947 | t = self._fixture() |
| 3948 | s = exists().where(t.c.x == 5).select() |
| 3949 | mapping = self._mapping(s) |
| 3950 | assert t.c.x not in mapping |
| 3951 | eq_( |
| 3952 | [type(entry[-1]) for entry in s.compile()._result_columns], |
| 3953 | [Boolean], |
| 3954 | ) |
| 3955 | |
| 3956 | def test_plain_exists(self): |
| 3957 | expr = exists(text("1")) |