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

Method test_in_10

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

Source from the content-addressed store, hash-verified

2177 )
2178
2179 def test_in_10(self):
2180 # when non-literal expressions are present we still need to do the
2181 # old way where we render up front
2182 self.assert_compile(
2183 self.table1.c.myid.in_([literal("a") + "a", "b"]),
2184 "mytable.myid IN (:param_1 || :param_2, :myid_1)",
2185 )
2186
2187 def test_in_11(self):
2188 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