MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_boolean_inversion_mssql

Method test_boolean_inversion_mssql

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

Source from the content-addressed store, hash-verified

3388 )
3389
3390 def test_boolean_inversion_mssql(self):
3391 # because mssql doesn't have native boolean
3392 self.assert_compile(
3393 ~self.table1.c.myid.match("somstr"),
3394 "NOT CONTAINS (mytable.myid, :myid_1)",
3395 dialect=mssql.dialect(),
3396 )
3397
3398
3399class 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