Package BioSQL :: Module BioSeqDatabase :: Class _CursorWrapper
[hide private]
[frames] | no frames]

Class _CursorWrapper

source code

object --+
         |
        _CursorWrapper

A wraper for mysql.connector resolving bytestring representations.
Instance Methods [hide private]
 
__init__(self, real_cursor)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
execute(self, operation, params=None, multi=False)
Execute a sql statement
source code
 
executemany(self, operation, params)
Execute many sql statements
source code
 
_convert_tuple(self, tuple_)
Decode any bytestrings present in the row
source code
 
_convert_list(self, lst) source code
 
fetchall(self) source code
 
fetchone(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, real_cursor)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)