MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_match_4

Method test_match_4

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

Source from the content-addressed store, hash-verified

3354 )
3355
3356 def test_match_4(self):
3357 self.assert_compile(
3358 self.table1.c.myid.match("somstr"),
3359 "mytable.myid @@ plainto_tsquery(%(myid_1)s::VARCHAR)",
3360 dialect=postgresql.dialect(),
3361 )
3362
3363 def test_match_5(self):
3364 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