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

Method test_like_1

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

Source from the content-addressed store, hash-verified

3014 table1 = table("mytable", column("myid", Integer), column("name", String))
3015
3016 def test_like_1(self):
3017 self.assert_compile(
3018 self.table1.c.myid.like("somstr"), "mytable.myid LIKE :myid_1"
3019 )
3020
3021 def test_like_2(self):
3022 self.assert_compile(

Callers

nothing calls this directly

Calls 2

assert_compileMethod · 0.80
likeMethod · 0.45

Tested by

no test coverage detected