Package logilab-common-0 :: Package 36 :: Package 1 :: Module db :: Class PyConnection
[frames] | no frames]

Class PyConnection

source code


A simple connection wrapper in python, generating wrapper for cursors as
well (useful for profiling)

Instance Methods
 
__init__(self, cnx)
Wraps the original connection object
source code
 
cursor(self)
Wraps cursor()
source code

Inherited from SimpleConnectionWrapper: __getattr__, close, commit, rollback

Method Details

__init__(self, cnx)
(Constructor)

source code 
Wraps the original connection object

Overrides: SimpleConnectionWrapper.__init__

cursor(self)

source code 
Wraps cursor()

Overrides: SimpleConnectionWrapper.cursor