X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2._psycopg.connection-class.html;fp=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2._psycopg.connection-class.html;h=0b6076efbc83894cf20c87f16fbbd7aa7514491f;hb=e5bdc26e1423689c0ab3204931335787737946ea;hp=0000000000000000000000000000000000000000;hpb=f8dd312990da7cc744e1c148bfd395c18492f3f1;p=plcapi.git diff --git a/psycopg2/doc/api/private/psycopg2._psycopg.connection-class.html b/psycopg2/doc/api/private/psycopg2._psycopg.connection-class.html new file mode 100644 index 00000000..0b6076ef --- /dev/null +++ b/psycopg2/doc/api/private/psycopg2._psycopg.connection-class.html @@ -0,0 +1,405 @@ + + + +
+| Home | +Trees | +Index | +Help | ++ |
|---|
|
+ + |
+
+object --+
+ |
+ connection
+connection,
+ DictConnectionconnection(dsn, ...) -> new connection object
+| Method Summary | |
|---|---|
| + |
++x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
| + | __new__(T,
+ S,
+ ...)
++Return a new object with type S, a subtype of T... |
| + | __repr__(x)
++Return repr(x)... |
| + | __str__(x)
++Return str(x)... |
| + |
++Close the connection. |
| + |
++Commit all changes to database. |
extensions.cursor |
+
++new cursor |
| + |
++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 | |
|---|---|
| + | closed: True if the connection is closed. |
| + | dsn: The current connection string. |
| + | encoding: The current client encoding. |
| + | isolation_level: The current isolation level. |
| + | notices |
| + | notifies |
| DBAPI-2.0 errors | |
| + | Error: Base class for error exceptions. |
| + | Warning: A database warning. |
| + | InterfaceError: Error related to the database interface. |
| + | DatabaseError: Error related to the database engine. |
| + | InternalError: The database encountered an internal error. |
| + | OperationalError: Error related to database operation (disconnect, memory allocation etc). |
| + | ProgrammingError: Error related to database programming (SQL error, table not found etc). |
| + | IntegrityError: Error related to database integrity. |
| + | DataError: Error related to problems with the processed data. |
| + | NotSupportedError: A not supported datbase API was called. |
| Method Details |
|---|
+ __init__(...)
+
+ |
+ __new__(T, + S, + ...) ++
|
+ __repr__(x)
+
+ |
+ __str__(x)
+
+ |
+ close() ++Close the connection. +
|
+ commit() ++Commit all changes to database. +
|
+ cursor(cursor_factory=extensions.cursor) ++new cursor +Return a new cursor. +The cursor_factory argument can be used to
+create non-standard cursors by passing a class different from the
+default. Note that the new class should be a sub-class of
+
|
+ rollback() ++Roll back all changes done to database. +
|
+ set_client_encoding(encoding) ++Set client encoding to encoding. +
|
+ set_isolation_level(level) ++Switch isolation level to level. +
|
| Property Details |
|---|
+
+
+Error+Base class for error exceptions. + |
+
+
+Warning+A database warning. + |
+
+
+InterfaceError+Error related to the database interface. + |
+
+
+DatabaseError+Error related to the database engine. + |
+
+
+InternalError+The database encountered an internal error. + |
+
+
+OperationalError+Error related to database operation (disconnect, memory allocation etc). + |
+
+
+ProgrammingError+Error related to database programming (SQL error, table not found etc). + |
+
+
+IntegrityError+Error related to database integrity. + |
+
+
+DataError+Error related to problems with the processed data. + |
+
+
+NotSupportedError+A not supported datbase API was called. + |
+
+
+closed+True if the connection is closed. + |
+
+
+dsn+The current connection string. + |
+
+
+encoding+The current client encoding. + |
+
+
+isolation_level+The current isolation level. + |
| Home | +Trees | +Index | +Help | ++ |
|---|
| Generated by Epydoc 2.1 on Sat Jan 14 01:42:31 2006 | ++ http://epydoc.sf.net + | +