| Home | Trees | Index | Help |
|---|
|
|
object--+ |connection--+ | connection
psycopg 1.1.x connection.
| Method Summary | |
|---|---|
| switch autocommit on (1) or off (0) | autocommit(on_off)
|
| new psycopg 1.1.x compatible cursor object | cursor()
|
| Inherited from connection | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
Return a new object with type S, a subtype of T... | |
Return repr(x)... | |
Return str(x)... | |
Close the connection. | |
Commit all changes to database. | |
Roll back all changes done to database. | |
Set client encoding to encoding. | |
Switch isolation level to level. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Property Summary | |
|---|---|
| Inherited from connection | |
closed: True if the connection is closed. | |
DatabaseError: Error related to the database engine. | |
DataError: Error related to problems with the processed data. | |
dsn: The current connection string. | |
encoding: The current client encoding. | |
Error: Base class for error exceptions. | |
IntegrityError: Error related to database integrity. | |
InterfaceError: Error related to the database interface. | |
InternalError: The database encountered an internal error. | |
isolation_level: The current isolation level. | |
notices | |
notifies | |
NotSupportedError: A not supported datbase API was called. | |
OperationalError: Error related to database operation (disconnect, memory allocation etc). | |
ProgrammingError: Error related to database programming (SQL error, table not found etc). | |
Warning: A database warning. | |
| Method Details |
|---|
autocommit(on_off=1)
|
cursor()
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sat Jan 14 01:42:36 2006 | http://epydoc.sf.net |