MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / escape_str

Function escape_str

pymysql/converters.py:86–87  ·  view source on GitHub ↗
(value, mapping=None)

Source from the content-addressed store, hash-verified

84
85
86def escape_str(value, mapping=None) -> str:
87 return "'" + escape_string(str(value)) + "'"
88
89
90def escape_None(value, mapping=None):

Callers

nothing calls this directly

Calls 1

escape_stringFunction · 0.85

Tested by

no test coverage detected