MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_like_1

Method test_like_1

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

Source from the content-addressed store, hash-verified

3205 table1 = table("mytable", column("myid", String), column("name", String))
3206
3207 def test_like_1(self):
3208 self.assert_compile(
3209 self.table1.c.myid.like("somstr"), "mytable.myid LIKE :myid_1"
3210 )
3211
3212 def test_like_2(self):
3213 self.assert_compile(

Callers

nothing calls this directly

Calls 2

assert_compileMethod · 0.80
likeMethod · 0.45

Tested by

no test coverage detected