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

Method test_boolean_inversion_mssql

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

Source from the content-addressed store, hash-verified

3197 )
3198
3199 def test_boolean_inversion_mssql(self):
3200 # because mssql doesn't have native boolean
3201 self.assert_compile(
3202 ~self.table1.c.myid.match("somstr"),
3203 "NOT CONTAINS (mytable.myid, :myid_1)",
3204 dialect=mssql.dialect(),
3205 )
3206
3207
3208class RegexpTest(fixtures.TestBase, testing.AssertsCompiledSQL):

Callers

nothing calls this directly

Calls 3

assert_compileMethod · 0.80
matchMethod · 0.45
dialectMethod · 0.45

Tested by

no test coverage detected