MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / posix_sqlite_regexp

Function posix_sqlite_regexp

tortoise/contrib/sqlite/regex.py:18–22  ·  view source on GitHub ↗
(field: Term, value: str)

Source from the content-addressed store, hash-verified

16
17
18def posix_sqlite_regexp(field: Term, value: str):
19 term = cast(Term, field.wrap_constant(value))
20 return BasicCriterion(
21 SQLiteRegexMatching.POSIX_REGEX, Coalesce(Cast(field, SqlTypes.VARCHAR), ""), term
22 )
23
24
25def insensitive_posix_sqlite_regexp(field: Term, value: str):

Callers

nothing calls this directly

Calls 1

CoalesceClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…