Jeremy Burns
Class Outfit
On 5 Jan 2011, at 13:10, roundrightfarm wrote:
I'm having to do a find('all') with recursive = 2 to get at the data I
need in my array. Unfortunately using this level of recursion also
pulls in a bunch of unneeded data, creating a monster array which is
stretching the memory limits.
Is there some syntax (perhaps involving 'fields') that will either
allow me to select only the associations I need for this particular
array, or to leave out the association I don't need. I'm asssuming
it would not be considered best practices to start messing with my
model files just to get a smaller array in this one situation.
Thanks
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment