Home | Trees | Index | Help |
---|
Package MySQLdb :: Module cursors :: Class CursorUseResultMixIn |
|
object
--+
|
CursorUseResultMixIn
SSCursor
,
SSDictCursor
This is a MixIn class which causes the result set to be stored in the server and sent row-by-row to client side, i.e. it uses mysql_use_result(). You MUST retrieve the entire result set and close() the cursor before additional queries can be peformed on the connection.
Method Summary | |
---|---|
__iter__(self)
| |
Fetchs all available rows from the cursor. | |
Fetch up to size rows from the cursor. | |
Fetches a single row from the cursor. | |
next(self)
| |
_get_result(self)
| |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
bool |
_defer_warnings = True
|
Method Details |
---|
fetchall(self)Fetchs all available rows from the cursor. |
fetchmany(self, size=None)Fetch up to size rows from the cursor. Result set may be smaller than size. If size is not defined, cursor.arraysize is used. |
fetchone(self)Fetches a single row from the cursor. |
Class Variable Details |
---|
_defer_warnings
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007 | http://epydoc.sf.net |