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

Method test_boolean_inversion_mysql

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

Source from the content-addressed store, hash-verified

3189 )
3190
3191 def test_boolean_inversion_mysql(self):
3192 # because mysql doesn't have native boolean
3193 self.assert_compile(
3194 ~self.table1.c.myid.match("somstr"),
3195 "NOT MATCH (mytable.myid) AGAINST (%s IN BOOLEAN MODE)",
3196 dialect=mysql.dialect(),
3197 )
3198
3199 def test_boolean_inversion_mssql(self):
3200 # because mssql doesn't have native boolean

Callers

nothing calls this directly

Calls 3

assert_compileMethod · 0.80
matchMethod · 0.45
dialectMethod · 0.45

Tested by

no test coverage detected