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

Method test_startswith

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

Source from the content-addressed store, hash-verified

3793 )
3794
3795 def test_startswith(self):
3796 self.assert_compile(
3797 column("x").startswith("y"),
3798 "x LIKE :x_1 || '%'",
3799 checkparams={"x_1": "y"},
3800 )
3801
3802 def test_startswith_escape(self):
3803 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