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

Method test_match_4

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

Source from the content-addressed store, hash-verified

3163 )
3164
3165 def test_match_4(self):
3166 self.assert_compile(
3167 self.table1.c.myid.match("somstr"),
3168 "mytable.myid @@ plainto_tsquery(%(myid_1)s)",
3169 dialect=postgresql.dialect(),
3170 )
3171
3172 def test_match_5(self):
3173 self.assert_compile(

Callers

nothing calls this directly

Calls 3

assert_compileMethod · 0.80
matchMethod · 0.45
dialectMethod · 0.45

Tested by

no test coverage detected