MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_like_quote_escape

Method test_like_quote_escape

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

Source from the content-addressed store, hash-verified

3221 )
3222
3223 def test_like_quote_escape(self):
3224 self.assert_compile(
3225 self.table1.c.myid.like("somstr", escape="'"),
3226 "mytable.myid LIKE :myid_1 ESCAPE ''''",
3227 )
3228
3229 def test_like_4(self):
3230 self.assert_compile(

Callers

nothing calls this directly

Calls 2

assert_compileMethod · 0.80
likeMethod · 0.45

Tested by

no test coverage detected