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

Method test_icontains_text

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

Source from the content-addressed store, hash-verified

3866 )
3867
3868 def test_icontains_text(self):
3869 self.assert_compile(
3870 column("x").icontains(text("y")),
3871 "lower(x) LIKE '%' || lower(y) || '%'",
3872 checkparams={},
3873 )
3874
3875 def test_icontains_concat(self):
3876 self.assert_compile(

Callers

nothing calls this directly

Calls 4

columnFunction · 0.90
textFunction · 0.90
assert_compileMethod · 0.80
icontainsMethod · 0.45

Tested by

no test coverage detected