MCPcopy Index your code
hub / github.com/zzzeek/sqlalchemy / test_contains_text

Method test_contains_text

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

Source from the content-addressed store, hash-verified

3674 )
3675
3676 def test_contains_text(self):
3677 self.assert_compile(
3678 column("x").contains(text("y")),
3679 "x LIKE '%' || y || '%'",
3680 checkparams={},
3681 )
3682
3683 def test_not_contains(self):
3684 self.assert_compile(

Callers

nothing calls this directly

Calls 4

columnFunction · 0.90
textFunction · 0.90
assert_compileMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected