MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_boolean_inversion_postgresql

Method test_boolean_inversion_postgresql

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

Source from the content-addressed store, hash-verified

3373 assert isinstance(expr.type, MatchType)
3374
3375 def test_boolean_inversion_postgresql(self):
3376 self.assert_compile(
3377 ~self.table1.c.myid.match("somstr"),
3378 "NOT mytable.myid @@ plainto_tsquery(%(myid_1)s::VARCHAR)",
3379 dialect=postgresql.dialect(),
3380 )
3381
3382 def test_boolean_inversion_mysql(self):
3383 # because mysql 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