I'm not sure of any method - but why do you think that all your rows as arrays will use up more memory than the same amount of data wrapped in objects? Is it just a pass by reference vs pass by copy issue?
At the heart of it the dbo_source.php file takes the data from the database query as an array. You could then build some object up out of this - but I'm not sure that it will really help any memory issues. On Apr 3, 3:41 pm, "R. Rajesh Jeba Anbiah" <[EMAIL PROTECTED]> wrote: > It's very crucial to have the find() or similar returns DB > object instead of full array--as for any data export module, we cannot > dump the whole array which would result in memory error. IIRC, someone > provided how to do that in CakePHP, but I lost the link; but, when I > google, the closest I get now > ishttp://jimmyzimmerman.com/blog/2007/05/why-i-prefer-ruby-on-rails-ove... > Is there anyone who bookmarked such previous hack or can provide any > hint? TIA > > -- > <?php echo 'Just another PHP saint'; ?> > Email: rrjanbiah-at-Y!com Blog:http://rajeshanbiah.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---