Re: Containable Behaviour Join Table

2009-07-02 Thread Miles J
No you cannot get rid of it, it also doesnt cause any more queries or stress on the database. --~--~-~--~~~---~--~~ 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

Re: Containable Behaviour Join Table

2009-07-02 Thread zonium
I run into the same problem as tobi_one described. Can some one provide a solution to the problem? How to get rid of LocationsVoucher array. Please help. Zonium --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePH

Containable Behaviour Join Table

2009-06-04 Thread tobi_one
Hi, I have two models -> Location and Voucher which have a HABTM relationship joined by a LocationsVoucher table. When I contain a find('all') query to "Location.id" and limit the fields to "Voucher.id" I always get the join table as a result as well, like this: [0] => Array (