Executing a queryset with MySQL's SSCursor cursor class

113 views
Skip to first unread message

Sam Tregar

unread,
Aug 26, 2009, 6:58:11 PM8/26/09
to django...@googlegroups.com
Hello all.  I'm wondering how I can tell Django to use MySQLdb.cursors.SSCursor instead of the default MySQLdb.cursors.Cursor.  The critical difference here is that SSCursor uses mysql_use_result and streams data from the server rather than loading it all into memory at once.  Anybody know if that's possible?  My searches of the docs and code haven't turned up much yet.

Thanks,
-sam
Reply all
Reply to author
Forward
0 new messages