No such thing as a small change | |
PerlMonks |
Re: DBD::SQLite dilemmaby liz (Monsignor) |
on Aug 11, 2003 at 10:18 UTC ( [id://282811]=note: print w/replies, xml ) | Need Help?? |
4. do something special if $dbh->do is called in non-void context.
If called in void context, keep the current iterator way. If called in a non-void context, fetch all the records in memory and return number of records fetched. Document that calling $dbh->do in non-void context will load all records in memory. This should keep the old behaviour (which was loading all records already) and provide a new, compatible way of fetching records that uses less memory. Liz
Update
In Section
Meditations
|
|