Tuesday, August 4, 2009

Re: Containable - Deep Associations - Sort resulting array

Hi,

El 04/08/2009, a las 17:54, pomares escribió:

> I guess I will have to write a custom query() instead. Unless one of
> you comes up with a genial idea!

I think you could try using joins. Read this post by Nate Abele.

http://bakery.cakephp.org/articles/view/quick-tip-doing-ad-hoc-joins-in-model-find


---
Fran Iglesias <cakephpilia@gmail.com>
http://cakephpilia.blogspot.com


--~--~---------~--~----~------------~-------~--~----~
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: