Hi, did you resolve the problem? How did you do that? I have the similar
problem.
вторник, 12 марта 2013 г., 23:33:46 UTC+4 пользователь André Luis написал:
>
> Hi people, I have model User and model Image, and the model User hasMany
> Image, so when i use $this->User->find('all'), it comes wit
On Tue, Mar 12, 2013 at 3:33 PM, André Luis wrote:
> Hi people, I have model User and model Image, and the model User hasMany
> Image, so when i use $this->User->find('all'), it comes with the respective
> related images, but in the table of model Image, I also have the field
> "category", wich is
Thanks, but i cant use Containable, i am doing this inside another
behavior... i just need to know if it´s possible the hasMany have a group by
Em terça-feira, 12 de março de 2013 16h33min46s UTC-3, André Luis escreveu:
>
> Hi people, I have model User and model Image, and the model User hasMany
Hi, you can use the containable behavior to obtain custom queries.
Regards.
Murgan, Alexis Germán
Desarrollador & Diseñador
Web: german.murgan.com.ar
Email: ger...@murgan.com.ar
MSN: ger...@murgan.com.ar
Móvil: +5493424663813
2013/3/12 André Luis
> Hi people, I have model User and model Image,
Hi people, I have model User and model Image, and the model User hasMany
Image, so when i use $this->User->find('all'), it comes with the respective
related images, but in the table of model Image, I also have the field
"category", wich is a string... My doubt is, is there anyway to group the
r