Table of Contents

Class: Augmentation | Twisted-0.19.0/twisted/enterprise/adbapi.py
--- | ---
### A class which augments a database connector with some functionality. #### Conventional usage of me is to write methods that look like | def getSomeData(self, critereon): | return self.runQuery("SELECT * FROM FOO WHERE BAR LIKE `%%%s%%`" % critereon).addCallback(self.processResult)
Methods |
--- | ---
__init__ __setstate__ createSchema operationDone operationError | runInteraction runOperation runQuery schemaCreated schemaNotCreated
| __init__
    __init__ ( self,  dbpool )
| __setstate__
    __setstate__ ( self,  state )
| createSchema
    createSchema ( self )
| operationDone
    operationDone ( self,  done )
Default callback for database operation success.
| operationError
    operationError ( self,  error )
Default callback for database operation failure.
| runInteraction
    runInteraction (
            self,
            interaction,
            *args,
            *kw,
            )
| runOperation
    runOperation (
            self,
            *args,
            *kw,
            )
| runQuery
    runQuery (
            self,
            *args,
            *kw,
            )
| schemaCreated
    schemaCreated ( self,  result )
| schemaNotCreated
    schemaNotCreated ( self,  error )

Table of Contents

This document was automatically generated on Sun Jul 14 19:52:36 2002 by HappyDoc version 2.0