Class CursorWrapper

A thin wrapper around MySQLdb's normal cursor class that catches particular exception instances and reraises them with the correct types.

Declaration

class CursorWrapper
source link

Documentation

Implemented as a wrapper, rather than a subclass, so that it isn't stuck
to the particular underlying representation returned by Connection.cursor().

Methods