#2662 closed enhancement (fixed)
[patch] dictfetchmany and dictfetchall should use generators
Description ¶
In db.backends.util, dictfetchmany and dictfetchall currently use list comprehensions and will cause all rows to be loaded in to memory. Those functions should be generators, allowing rows to be loaded one at a time.
Change History (2)
by , 19 years ago
Attachment: | util.py.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch changing dictfetchmany and dictfetchall to be generators