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

Type DictCursor

            object --+    
            BaseCursor --+
            object --+   |
                     |   |
   CursorDictRowsMixIn --+
            object --+   |
                     |   |
CursorStoreResultMixIn --+

This is a Cursor class that returns rows as dictionaries and stores the result set in the client.

Method Summary
    Inherited from CursorStoreResultMixIn
Fetchs all available rows from the cursor.
  fetchmany(self, size)
Fetch up to size rows from the cursor.
Fetches a single row from the cursor.
  scroll(self, value, mode)
Scroll the cursor in the result set to a new position according to mode.
    Inherited from CursorDictRowsMixIn
Fetch all available rows as a list of dictionaries.
  fetchmanyDict(self, size)
Fetch several rows as a list of dictionaries.
Fetch a single row as a dictionary.
    Inherited from BaseCursor
  __init__(self, connection)
  callproc(self, procname, args)
Execute stored procedure procname with args
Close the cursor.
  execute(self, query, args)
Execute a query.
  executemany(self, query, args)
Execute a multi-row query.
Advance to the next result set.
  setinputsizes(self, *args)
Does nothing, required by DB API.
  setoutputsizes(self, *args)
Does nothing, required by DB API.
    Inherited from object
x.__delattr__('name') <==> del
x.__getattribute__('name') <==>
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
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) <==> = value
x.__str__() <==> str(x)

Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007