Home Trees Index Help
Package MySQLdb :: Module cursors :: Class CursorUseResultMixIn
[show private | hide private]

Type CursorUseResultMixIn

object --+
 |
 CursorUseResultMixIn

Known Subclasses:
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)
fetchall(self)
Fetchs all available rows from the cursor.
fetchmany(self, size)
Fetch up to size rows from the cursor.
fetchone(self)
Fetches a single row from the cursor.
next(self)
Inherited from object
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__hash__(x)
x.__hash__() <==> hash(x)
__new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
__reduce__(...)
helper for pickle
__reduce_ex__(...)
helper for pickle
__repr__(x)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(x)
x.__str__() <==> str(x)

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.


Home Trees Index Help
Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007 http://epydoc.sf.net

AltStyle によって変換されたページ (->オリジナル) /