MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_startswith

Method test_startswith

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

Source from the content-addressed store, hash-verified

3987 )
3988
3989 def test_startswith(self):
3990 self.assert_compile(
3991 column("x").startswith("y"),
3992 "x LIKE :x_1 || '%'",
3993 checkparams={"x_1": "y"},
3994 )
3995
3996 def test_startswith_escape(self):
3997 self.assert_compile(

Callers

nothing calls this directly

Calls 3

columnFunction · 0.90
assert_compileMethod · 0.80
startswithMethod · 0.45

Tested by

no test coverage detected