MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_in_25

Method test_in_25

test/sql/test_operators.py:2448–2457  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2446 )
2447
2448 def test_in_25(self):
2449 self.assert_compile(
2450 select(
2451 self.table1.c.myid.in_(
2452 select(self.table2.c.otherid).scalar_subquery()
2453 )
2454 ),
2455 "SELECT mytable.myid IN (SELECT myothertable.otherid "
2456 "FROM myothertable) AS anon_1 FROM mytable",
2457 )
2458
2459 def test_in_26(self):
2460 self.assert_compile(

Callers

nothing calls this directly

Calls 4

selectFunction · 0.85
assert_compileMethod · 0.80
in_Method · 0.45
scalar_subqueryMethod · 0.45

Tested by

no test coverage detected