Package entropy :: Package db :: Module mysql :: Class MySQLCursorWrapper

Class MySQLCursorWrapper

source code


This class wraps a MySQL cursor and makes execute(), executemany() return the cursor itself.

Instance Methods
 
__init__(self, cursor, exceptions, errno)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
wrap(self, method, *args, **kwargs) source code
 
execute(self, *args, **kwargs) source code
 
executemany(self, *args, **kwargs) source code
 
close(self, *args, **kwargs) source code
 
fetchone(self, *args, **kwargs) source code
 
fetchall(self, *args, **kwargs) source code
 
fetchmany(self, *args, **kwargs) source code
 
executescript(self, script) source code
 
callproc(self, *args, **kwargs) source code
 
nextset(self, *args, **kwargs) source code
 
__iter__(self) source code
 
__next__(self) source code
 
next(self) source code

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

Properties

Inherited from sql.SQLCursorWrapper: description, lastrowid, rowcount

Inherited from object: __class__

Method Details

__init__(self, cursor, exceptions, errno)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

wrap(self, method, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.wrap

execute(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.execute

executemany(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.executemany

close(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.close

fetchone(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.fetchone

fetchall(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.fetchall

fetchmany(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.fetchmany

executescript(self, script)

source code 
Overrides: sql.SQLCursorWrapper.executescript

callproc(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.callproc

nextset(self, *args, **kwargs)

source code 
Overrides: sql.SQLCursorWrapper.nextset

__iter__(self)

source code 
Overrides: sql.SQLCursorWrapper.__iter__

__next__(self)

source code 
Overrides: sql.SQLCursorWrapper.__next__

next(self)

source code 
Overrides: sql.SQLCursorWrapper.next