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

Method test_like_quote_escape

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

Source from the content-addressed store, hash-verified

3030 )
3031
3032 def test_like_quote_escape(self):
3033 self.assert_compile(
3034 self.table1.c.myid.like("somstr", escape="'"),
3035 "mytable.myid LIKE :myid_1 ESCAPE ''''",
3036 )
3037
3038 def test_like_4(self):
3039 self.assert_compile(

Callers

nothing calls this directly

Calls 2

assert_compileMethod · 0.80
likeMethod · 0.45

Tested by

no test coverage detected