Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ escape_str
Function
escape_str
pymysql/converters.py:91–92 ·
view source on GitHub ↗
(value, mapping=None)
Source
from the content-addressed store, hash-verified
89
90
91
def
escape_str(value, mapping=None) -> str:
92
return
"'"
+ escape_string(str(value)) +
"'"
93
94
95
def
escape_None(value, mapping=None):
Callers
nothing calls this directly
Calls
1
escape_string
Function · 0.85
Tested by
no test coverage detected