MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_in_10

Method test_in_10

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

Source from the content-addressed store, hash-verified

2344 )
2345
2346 def test_in_10(self):
2347 # when non-literal expressions are present we still need to do the
2348 # old way where we render up front
2349 self.assert_compile(
2350 self.table1.c.myid.in_([literal("a") + "a", "b"]),
2351 "mytable.myid IN (:param_1 || :param_2, :myid_1)",
2352 )
2353
2354 def test_in_11(self):
2355 self.assert_compile(

Callers

nothing calls this directly

Calls 3

literalFunction · 0.90
assert_compileMethod · 0.80
in_Method · 0.45

Tested by

no test coverage detected