X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.psycopg1.cursor-class.html;fp=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.psycopg1.cursor-class.html;h=17d22e085ba2067fcfae5d6c038f4cd179661992;hb=e5bdc26e1423689c0ab3204931335787737946ea;hp=0000000000000000000000000000000000000000;hpb=f8dd312990da7cc744e1c148bfd395c18492f3f1;p=plcapi.git diff --git a/psycopg2/doc/api/private/psycopg2.psycopg1.cursor-class.html b/psycopg2/doc/api/private/psycopg2.psycopg1.cursor-class.html new file mode 100644 index 0000000..17d22e0 --- /dev/null +++ b/psycopg2/doc/api/private/psycopg2.psycopg1.cursor-class.html @@ -0,0 +1,308 @@ + + + +
+Home | +Trees | +Index | +Help | ++ |
---|
+ + |
+
+object
--+ + | +cursor
--+ + | + cursor +
psycopg 1.1.x cursor.
+Note that this cursor implements the exact procedure used by psycopg 1 to +build dictionaries out of result rows. The DictCursor in the +psycopg.extras modules implements a much better and faster algorithm.
+Method Summary | |
---|---|
+ | dictfetchall(self)
+ |
+ | dictfetchmany(self,
+ size)
+ |
+ | dictfetchone(self)
+ |
+ | __build_dict(self,
+ row)
+ |
Inherited from cursor | |
+ |
++x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
+ |
++Return iter(x)... |
+ |
++Return a new object with type S, a subtype of T... |
+ |
++Return repr(x)... |
+ |
++Return str(x)... |
+ |
++Execute stored procedure. |
+ |
++Close the cursor. |
+ |
++Copy table from file. |
+ |
++Copy table to file. |
+ |
++Execute query with bound vars. |
+ |
++Execute many queries with bound vars. |
list of tuple | +
++Return all the remaining rows of a query result set. |
list of tuple | +
++Return the next size rows of a query result set in the form of a list
+of tuples (by default) or using the sequence factory previously set in
+the row_factory attribute. |
tuple or None | +
++Return the next row of a query result set in the form of a tuple (by +default) or using the sequence factory previously set in the + row_factory attribute. |
int | +
++Return file descriptor associated to database connection. |
bool | +
++Return True if data is ready after an async query. |
str | +
++Return query after vars binding. |
+ |
++Return the next value, or raise StopIteration... |
+ |
++Skip to next set of data. |
+ |
++Scroll to new position according to mode. |
+ |
++Set memory areas before execute. |
+ |
++Set column buffer size. |
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 cursor | |
+ | arraysize : Number of records fetchmany() must fetch if not explicitely specified. |
+ | binary_types |
+ | connection : The connection where the cursor comes from. |
+ | description : Cursor description as defined in DBAPI-2.0. |
+ | lastrowid : The oid of the last row inserted by the cursor. |
+ | name |
+ | query : The last query text sent to the backend. |
+ | row_factory |
+ | rowcount : Number of rows read from the backend in the last command. |
+ | rownumber : The current row position. |
+ | statusmessage : The return message of the last command. |
+ | string_types |
+ | typecaster |
+ | tzinfo_factory |
Method Details |
---|
+ dictfetchall(self) ++
|
+ dictfetchmany(self, + size) ++
|
+ dictfetchone(self) ++
|
+ __build_dict(self, + row) ++
|
Home | +Trees | +Index | +Help | ++ |
---|
Generated by Epydoc 2.1 on Sat Jan 14 01:42:33 2006 | ++ http://epydoc.sf.net + | +