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

Method do_bindparam

lib/sqlalchemy/sql/compiler.py:2698–2703  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

2696
2697 def visit_textclause(self, textclause, add_to_result_map=None, **kw):
2698 def do_bindparam(m):
2699 name = m.group(1)
2700 if name in textclause._bindparams:
2701 return self.process(textclause._bindparams[name], **kw)
2702 else:
2703 return self.bindparam_string(name, **kw)
2704
2705 if not self.stack:
2706 self.isplaintext = True

Callers

nothing calls this directly

Calls 2

bindparam_stringMethod · 0.95
processMethod · 0.45

Tested by

no test coverage detected