Package gavo :: Package base :: Module sqlsupport :: Class NullConnection
[frames] | no frames]

Class NullConnection

source code

object --+
         |
        NullConnection

A standin to pass whereever a function wants a connection but doesn't actually need one in a particular situation.

This, in particular, concerns makeData.

To be accomodating to careful code, we'll allow commit and rollback on these, but we'll raise on anything else.

Instance Methods
 
__getattr__(self, name) source code
 
commit(self) source code
 
rollback(self) source code

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

Properties

Inherited from object: __class__