Home | Trees | Index | Help |
---|
Package MySQLdb :: Module cursors :: Class CursorStoreResultMixIn |
|
object
--+
|
CursorStoreResultMixIn
Cursor
,
DictCursor
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. | |
Scroll the cursor in the result set to a new position according to mode. | |
_get_result(self)
| |
_post_get_result(self)
| |
_query(self,
q)
| |
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) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T |
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. None indicates that no more rows are available. |
scroll(self, value, mode='relative')Scroll the cursor in the result set to a new position according to mode. If mode is 'relative' (default), value is taken as offset to the current position in the result set, if set to 'absolute', value states an absolute target position. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Jan 31 23:02:12 2005 | http://epydoc.sf.net |