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

Method test_plain_exists

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

Source from the content-addressed store, hash-verified

3967 )
3968
3969 def test_plain_exists(self):
3970 expr = exists(text("1"))
3971 eq_(type(expr.type), Boolean)
3972 eq_(
3973 [
3974 type(entry[-1])
3975 for entry in select(expr).compile()._result_columns
3976 ],
3977 [Boolean],
3978 )
3979
3980 def test_plain_exists_negate(self):
3981 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