| Home | Trees | Index | Help |
|---|
|
|
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)
| |
_build_index(self)
| |
| 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)... | |
Close the cursor. | |
Copy table from file. | |
Copy table to file. | |
Execute many queries with bound vars. | |
| 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 | |
| Class Variable Summary | |
|---|---|
int |
_DictCursor__query_executed = 0 |
| Method Details |
|---|
callproc(self, procname, vars=None)
|
execute(self, query, vars=None, async=0)
|
fetchall(self)
|
fetchmany(self, size=None)
|
fetchone(self)
|
_build_index(self) |
| Class Variable Details |
|---|
_DictCursor__query_executed
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sat Jan 14 01:42:32 2006 | http://epydoc.sf.net |