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

Function escape_bool

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

Source from the content-addressed store, hash-verified

45
46
47def escape_bool(value, mapping=None):
48 return str(int(value))
49
50
51def escape_int(value, mapping=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected