MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_plain_exists_negate

Method test_plain_exists_negate

test/sql/test_selectable.py:3980–3989  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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")))

Callers

nothing calls this directly

Calls 5

existsFunction · 0.90
textFunction · 0.90
eq_Function · 0.90
selectFunction · 0.90
compileMethod · 0.45

Tested by

no test coverage detected