X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=trunk%2Fpsycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.extras.DictConnection-class.html;fp=trunk%2Fpsycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.extras.DictConnection-class.html;h=73989b59963cca24dd162c13a7028b07ac8c54f9;hb=5a4c1b1278ffa01e630fde47f7c54888ed20a576;hp=0000000000000000000000000000000000000000;hpb=cee5ab52df1c9f38b6eaff2dd354cb22f59028c7;p=plcapi.git diff --git a/trunk/psycopg2/doc/api/private/psycopg2.extras.DictConnection-class.html b/trunk/psycopg2/doc/api/private/psycopg2.extras.DictConnection-class.html new file mode 100644 index 0000000..73989b5 --- /dev/null +++ b/trunk/psycopg2/doc/api/private/psycopg2.extras.DictConnection-class.html @@ -0,0 +1,202 @@ + + + + + psycopg2.extras.DictConnection + + + + + + + + + + + + + + + + + + + +
+ + Package psycopg2 :: + Module extras :: + Class DictConnection +
+
+ + +
[show private | hide private]
[frames | no frames]
+ + +

Type DictConnection

+ +
+object --+    
+         |    
+connection --+
+             |
+            DictConnection
+

+ +
+ +

A connection that uses DictCursor automatically.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
 cursor(self) +
    Inherited from connection
 __init__(...) +
+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() +
+Close the connection.
 commit() +
+Commit all changes to database.
 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.
    Inherited from object
 __delattr__(...) +
+x.__delattr__('name') <==> del x.name
 __getattribute__(...) +
+x.__getattribute__('name') <==> x.name
 __hash__(x) +
+Return hash(x)...
 __reduce__(...) +
+helper for pickle
 __reduce_ex__(...) +
+helper for pickle
 __setattr__(...) +
+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
+ + +
+

cursor(self) +

+
+
Overrides:
+
psycopg2._psycopg.connection.cursor
+
+
+
+
+ + + + + + + + + + + + + + + + + + +
+ +