MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_like_3

Method test_like_3

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

Source from the content-addressed store, hash-verified

3215 )
3216
3217 def test_like_3(self):
3218 self.assert_compile(
3219 self.table1.c.myid.like("somstr", escape="\\"),
3220 "mytable.myid LIKE :myid_1 ESCAPE '\\'",
3221 )
3222
3223 def test_like_quote_escape(self):
3224 self.assert_compile(

Callers

nothing calls this directly

Calls 2

assert_compileMethod · 0.80
likeMethod · 0.45

Tested by

no test coverage detected