Hello,

The Model->find  method builds a big array that contains all the tuples. Is
it possible to fetch the records one by one , in order to avoid that big array
to be constructed ?

One possible way would be to : get the list of id's , and then traverse it
and use read($id)  to get only the current row.  This implies a select to be
called for each row, though . So this approach could be slow.

Are there better ways to fetch the query result one by one  ?


Cheers,
Adrian Maier

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to