(self)
| 3978 | ) |
| 3979 | |
| 3980 | def test_plain_exists_negate(self): |
| 3981 | expr = ~exists(text("1")) |
| 3982 | eq_(type(expr.type), Boolean) |
| 3983 | eq_( |
| 3984 | [ |
| 3985 | type(entry[-1]) |
| 3986 | for entry in select(expr).compile()._result_columns |
| 3987 | ], |
| 3988 | [Boolean], |
| 3989 | ) |
| 3990 | |
| 3991 | def test_plain_exists_double_negate(self): |
| 3992 | expr = ~(~exists(text("1"))) |