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

Method test_match_1

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

Source from the content-addressed store, hash-verified

3142 table1 = table("mytable", column("myid", Integer), column("name", String))
3143
3144 def test_match_1(self):
3145 self.assert_compile(
3146 self.table1.c.myid.match("somstr"),
3147 "mytable.myid MATCH ?",
3148 dialect=sqlite.dialect(),
3149 )
3150
3151 def test_match_2(self):
3152 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