class CursorWrapper:
A thin wrapper around MySQLdb's normal cursor class that catches particular exception instances and reraises them with the correct types.
Implemented as a wrapper, rather than a subclass, so that it isn't stuck to the particular underlying representation returned by Connection.cursor().
Method | __getattr__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | execute |
Undocumented |
Method | executemany |
Undocumented |
Class Variable | codes​_for​_integrityerror |
Undocumented |
Instance Variable | cursor |
Undocumented |