Package MySQLdb :: Module cursors :: Class CursorDictRowsMixIn
[show private | hide private]
[frames | no frames]

Type CursorDictRowsMixIn

object --+
         |
        CursorDictRowsMixIn

Known Subclasses:
CursorOldDictRowsMixIn, DictCursor, SSDictCursor

This is a MixIn class that causes all rows to be returned as dictionaries. This is a non-standard feature.


Method Summary
  fetchallDict(self)
Fetch all available rows as a list of dictionaries.
  fetchmanyDict(self, size)
Fetch several rows as a list of dictionaries.
  fetchoneDict(self)
Fetch a single row as a dictionary.
    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

fetchallDict(self)

Fetch all available rows as a list of dictionaries. Deprecated: Use fetchall() instead. Will be removed in 1.3.

fetchmanyDict(self, size=None)

Fetch several rows as a list of dictionaries. Deprecated: Use fetchmany() instead. Will be removed in 1.3.

fetchoneDict(self)

Fetch a single row as a dictionary. Deprecated: Use fetchone() instead. Will be removed in 1.3.


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