MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / post_process_text

Method post_process_text

lib/sqlalchemy/sql/compiler.py:2754–2757  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

2752 )
2753
2754 def post_process_text(self, text):
2755 if self.preparer._double_percents:
2756 text = text.replace("%", "%%")
2757 return text
2758
2759 def escape_literal_column(self, text):
2760 if self.preparer._double_percents:

Callers 2

visit_textclauseMethod · 0.95
visit_ddlMethod · 0.80

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected