Package entropy :: Package db :: Module sqlite :: Class SQLiteConnectionWrapper

Class SQLiteConnectionWrapper

source code


This class wraps a SQLite connection and makes execute(), executemany() return the connection itself.

Instance Methods
 
__init__(self, connection, exceptions)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
ping(self)
Ping the underlying connection to keep it alive.
source code
 
unicode(self)
Enforce Unicode strings.
source code
 
rawstring(self)
Enforce byte strings.
source code
 
interrupt(self)
Interrupt any pending activity.
source code

Inherited from sql.SQLConnectionWrapper: __hash__, close, commit, cursor, rollback

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

Static Methods

Inherited from sql.SQLConnectionWrapper: connect

Properties

Inherited from object: __class__

Method Details

__init__(self, connection, exceptions)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

ping(self)

source code 

Ping the underlying connection to keep it alive.

Overrides: sql.SQLConnectionWrapper.ping
(inherited documentation)

unicode(self)

source code 

Enforce Unicode strings.

Overrides: sql.SQLConnectionWrapper.unicode
(inherited documentation)

rawstring(self)

source code 

Enforce byte strings.

Overrides: sql.SQLConnectionWrapper.rawstring
(inherited documentation)

interrupt(self)

source code 

Interrupt any pending activity.

Overrides: sql.SQLConnectionWrapper.interrupt
(inherited documentation)