MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / repl

Method repl

lib/sqlalchemy/sql/elements.py:2579–2581  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

2577 self._bindparams: Dict[str, BindParameter[Any]] = {}
2578
2579 def repl(m):
2580 self._bindparams[m.group(1)] = BindParameter(m.group(1))
2581 return ":%s" % m.group(1)
2582
2583 # scan the string and search for bind parameter names, add them
2584 # to the list of bindparams

Callers

nothing calls this directly

Calls 1

BindParameterClass · 0.85

Tested by

no test coverage detected