MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_plain_exists

Method test_plain_exists

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

Source from the content-addressed store, hash-verified

3954 )
3955
3956 def test_plain_exists(self):
3957 expr = exists(text("1"))
3958 eq_(type(expr.type), Boolean)
3959 eq_(
3960 [
3961 type(entry[-1])
3962 for entry in select(expr).compile()._result_columns
3963 ],
3964 [Boolean],
3965 )
3966
3967 def test_plain_exists_negate(self):
3968 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