On Thursday, March 10, 2011 09:16:52 am Ed Leafe wrote: > On Mar 10, 2011, at 12:09 PM, Paul McNett wrote: > > Actually, I think this is database independent. I think you are correct > > for MySQL, but for others fetchmany() will just get that many rows from > > the backend. > > ??? > > Read PEP249: http://www.python.org/dev/peps/pep-0249/ > > .fetchone(), .fetchmany() and .fetchall() work on the dbapi cursor's > result set *after* a call to .execute() has retrieved rows of data from > the database. > > > -- Ed Leafe Doesn't it then depend on the database py interface. For example the psycopg2 has the server side cursors.
Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
