Package trac :: Package db :: Module api :: Class QueryContextManager

Class QueryContextManager

source code

      object --+    
               |    
DbContextManager --+
                   |
                  QueryContextManager

Database Context Manager for retrieving a read-only ~trac.db.util.ConnectionWrapper.
Instance Methods
 
__enter__(self) source code
 
__exit__(self, et, ev, tb) source code

Inherited from DbContextManager: __call__, __init__, execute, executemany

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

Class Variables

Inherited from DbContextManager: db

Properties

Inherited from object: __class__