X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=psycopg2%2Fdoc%2Fapi%2Fpublic%2Fpsycopg2.extras.DictCursor-class.html;fp=psycopg2%2Fdoc%2Fapi%2Fpublic%2Fpsycopg2.extras.DictCursor-class.html;h=d546d3aa47114908b4f2e54da6f394f023406618;hb=e5bdc26e1423689c0ab3204931335787737946ea;hp=0000000000000000000000000000000000000000;hpb=f8dd312990da7cc744e1c148bfd395c18492f3f1;p=plcapi.git diff --git a/psycopg2/doc/api/public/psycopg2.extras.DictCursor-class.html b/psycopg2/doc/api/public/psycopg2.extras.DictCursor-class.html new file mode 100644 index 0000000..d546d3a --- /dev/null +++ b/psycopg2/doc/api/public/psycopg2.extras.DictCursor-class.html @@ -0,0 +1,205 @@ + + + + + psycopg2.extras.DictCursor + + + + + + + + + + + + + + + + + + + +
+ + Package psycopg2 :: + Module extras :: + Class DictCursor +
+
+ + +
[show private | hide private]
[frames | no frames]
+ + +

Type DictCursor

+ +
+object --+    
+         |    
+    cursor --+
+             |
+            DictCursor
+

+ +
+ +

A cursor that keeps a list of column name -> index mappings.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
 callproc(self, + procname, + vars) +
 execute(self, + query, + vars, + async) +
 fetchall(self) +
 fetchmany(self, + size) +
 fetchone(self) +
    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

+ + + + + + +
Method Details
+ + +
+

callproc(self, + procname, + vars=None) +

+
+
Overrides:
+
psycopg2._psycopg.cursor.callproc
+
+
+
+ + +
+

execute(self, + query, + vars=None, + async=0) +

+
+
Overrides:
+
psycopg2._psycopg.cursor.execute
+
+
+
+ + +
+

fetchall(self) +

+
+
Overrides:
+
psycopg2._psycopg.cursor.fetchall
+
+
+
+ + +
+

fetchmany(self, + size=None) +

+
+
Overrides:
+
psycopg2._psycopg.cursor.fetchmany
+
+
+
+ + +
+

fetchone(self) +

+
+
Overrides:
+
psycopg2._psycopg.cursor.fetchone
+
+
+
+
+ + + + + + + + + + + + + + + + + + +
+ +