MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_match_1

Method test_match_1

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

Source from the content-addressed store, hash-verified

3333 table1 = table("mytable", column("myid", String), column("name", String))
3334
3335 def test_match_1(self):
3336 self.assert_compile(
3337 self.table1.c.myid.match("somstr"),
3338 "mytable.myid MATCH ?",
3339 dialect=sqlite.dialect(),
3340 )
3341
3342 def test_match_2(self):
3343 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