MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_like_8

Method test_like_8

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

Source from the content-addressed store, hash-verified

3252 )
3253
3254 def test_like_8(self):
3255 self.assert_compile(
3256 ~self.table1.c.myid.ilike("somstr", escape="\\"),
3257 "mytable.myid NOT ILIKE %(myid_1)s::VARCHAR ESCAPE '\\'",
3258 dialect=postgresql.dialect(),
3259 )
3260
3261 def test_like_9(self):
3262 self.assert_compile(

Callers

nothing calls this directly

Calls 3

assert_compileMethod · 0.80
ilikeMethod · 0.45
dialectMethod · 0.45

Tested by

no test coverage detected