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

Method test_in_25

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

Source from the content-addressed store, hash-verified

2280 )
2281
2282 def test_in_25(self):
2283 self.assert_compile(
2284 select(
2285 self.table1.c.myid.in_(
2286 select(self.table2.c.otherid).scalar_subquery()
2287 )
2288 ),
2289 "SELECT mytable.myid IN (SELECT myothertable.otherid "
2290 "FROM myothertable) AS anon_1 FROM mytable",
2291 )
2292
2293 def test_in_26(self):
2294 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