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

Method test_endswith

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

Source from the content-addressed store, hash-verified

4083 )
4084
4085 def test_endswith(self):
4086 self.assert_compile(
4087 column("x").endswith("y"),
4088 "x LIKE '%' || :x_1",
4089 checkparams={"x_1": "y"},
4090 )
4091
4092 def test_endswith_encoded(self):
4093 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