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

Class CursorDictRowsMixIn

source code

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.

Instance Methods [hide private]
 
fetchoneDict(self)
Fetch a single row as a dictionary.
source code
 
fetchmanyDict(self, size=None)
Fetch several rows as a list of dictionaries.
source code
 
fetchallDict(self)
Fetch all available rows as a list of dictionaries.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  _fetch_type = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

fetchoneDict(self)

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

fetchmanyDict(self, size=None)

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

fetchallDict(self)

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