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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.