Package entropy :: Package db :: Module sqlite :: Class SQLiteCursorWrapper

Class SQLiteCursorWrapper

source code

This class wraps a SQLite cursor in order to have it thrown entropy.db.exceptions objects. The API is a subset of the one specified in Python DBAPI 2.0.

Instance Methods
__init__(self, cursor, exceptions)
x.__init__(...) initializes x; see help(type(x)) for signature
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, *args, **kwargs) 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 sql.SQLCursorWrapper: wrap

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


Inherited from sql.SQLCursorWrapper: description, lastrowid, rowcount

Inherited from object: __class__

Method Details

__init__(self, cursor, exceptions)

source code 

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

Overrides: object.__init__
(inherited documentation)

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, *args, **kwargs)

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


source code 
Overrides: sql.SQLCursorWrapper.__iter__


source code 
Overrides: sql.SQLCursorWrapper.__next__


source code