MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_like_12

Method test_like_12

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

Source from the content-addressed store, hash-verified

3278 )
3279
3280 def test_like_12(self):
3281 self.assert_compile(
3282 ~self.table1.c.name.ilike("%something%"),
3283 "mytable.name NOT ILIKE %(name_1)s::VARCHAR",
3284 dialect=postgresql.dialect(),
3285 )
3286
3287
3288class BetweenTest(fixtures.TestBase, testing.AssertsCompiledSQL):

Callers

nothing calls this directly

Calls 3

assert_compileMethod · 0.80
ilikeMethod · 0.45
dialectMethod · 0.45

Tested by

no test coverage detected