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

Method show_warnings

pymysql/connections.py:519–524  ·  view source on GitHub ↗

Send the "SHOW WARNINGS" SQL command.

(self)

Source from the content-addressed store, hash-verified

517 self._read_ok_packet()
518
519 def show_warnings(self):
520 """Send the "SHOW WARNINGS" SQL command."""
521 self._execute_command(COMMAND.COM_QUERY, "SHOW WARNINGS")
522 result = MySQLResult(self)
523 result.read()
524 return result.rows
525
526 def select_db(self, db):
527 """

Callers

nothing calls this directly

Calls 3

_execute_commandMethod · 0.95
readMethod · 0.95
MySQLResultClass · 0.85

Tested by

no test coverage detected