Go to the latest version of this document.

# ``twisted`.`enterprise`.`adbapi`.`Connection``

class documentation

`class Connection: (source)`

Constructor: `Connection(pool)`

View In Hierarchy

A wrapper for a DB-API connection instance.

The wrapper passes almost everything to the wrapped connection and so has the same API. However, the `Connection` knows about its pool and also handle reconnecting should when the real connection dies.

Method | `__getattr__` | Undocumented
Method | `__init__` | Undocumented
Method | `close` | Undocumented
Method | `reconnect` | Undocumented
Method | `rollback` | Undocumented
Instance Variable | `_connection` | Undocumented
Instance Variable | `_pool` | Undocumented

def __getattr__(self, name): (source)

Undocumented

def __init__(self, pool): (source)

Undocumented

def close(self): (source)

Undocumented

def reconnect(self): (source)

Undocumented

def rollback(self): (source)

Undocumented

_connection = (source)

Undocumented

_pool = (source)

Undocumented