MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_endswith

Method test_endswith

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

Source from the content-addressed store, hash-verified

4277 )
4278
4279 def test_endswith(self):
4280 self.assert_compile(
4281 column("x").endswith("y"),
4282 "x LIKE '%' || :x_1",
4283 checkparams={"x_1": "y"},
4284 )
4285
4286 def test_endswith_encoded(self):
4287 self.assert_compile(

Callers

nothing calls this directly

Calls 3

columnFunction · 0.90
assert_compileMethod · 0.80
endswithMethod · 0.45

Tested by

no test coverage detected