MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_istartswith

Method test_istartswith

test/sql/test_operators.py:4114–4122  ·  view source on GitHub ↗

case insensitive startswith method

(self)

Source from the content-addressed store, hash-verified

4112 )
4113
4114 def test_istartswith(self):
4115 """
4116 case insensitive startswith method
4117 """
4118 self.assert_compile(
4119 column("x").istartswith("y"),
4120 "lower(x) LIKE lower(:x_1) || '%'",
4121 checkparams={"x_1": "y"},
4122 )
4123
4124 def test_istartswith_pg(self):
4125 """

Callers

nothing calls this directly

Calls 3

columnFunction · 0.90
assert_compileMethod · 0.80
istartswithMethod · 0.45

Tested by

no test coverage detected