Instead the while($row = $res->fetch())-loop should give me only one row at
a time.
That is possible with the "internal" mysql* and mysqli* commands. Also the
AdoDB-framwork works like this. So I don't understand why ZF shouldn't work
like that as well.
If I wanted to get all the results from a large table, then I would just use
->fetchAll() and I do indeed understand why that wouldn't work on large
tables.
keith Pope-4 wrote:
>
> I dont quite understand why you need to get all results from a large
> table. Even in Mysql this is a bad idea and is why it has a safe mode
> that stops this behaviour.
--
View this message in context: http://www.nabble.com/Parsing-through-large-result-sets-tp20264357p20717494.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论