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

Type Cursor

            object --+    
                     |    
            BaseCursor --+
                         |
            object --+   |
                     |   |
CursorStoreResultMixIn --+
                         |
            object --+   |
                     |   |
  CursorTupleRowsMixIn --+
                         |
                        Cursor


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


Method Summary
    Inherited from CursorStoreResultMixIn
  __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.
  scroll(self, value, mode)
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 BaseCursor
  __init__(self, connection)
  __del__(self)
  callproc(self, procname, args)
Execute stored procedure procname with args
  close(self)
Close the cursor.
  execute(self, query, args)
Execute a query.
  executemany(self, query, args)
Execute a multi-row query.
  nextset(self)
Advance to the next result set.
  setinputsizes(self, *args)
Does nothing, required by DB API.
  setoutputsizes(self, *args)
Does nothing, required by DB API.
  _check_executed(self)
  _do_get_result(self)
  _do_query(self, q)
  _fetch_row(self, size)
  _get_db(self)
  _warning_check(self)
    Inherited from object
  __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)

Class Variable Summary
    Inherited from CursorTupleRowsMixIn
int _fetch_type = 0                                                                     
    Inherited from BaseCursor
bool _defer_warnings = False

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