Hello, I'm having a really annoying problem with the hasMany relationship. I have a table "Course" that has many "Instructors" and "Dates". As longs as I want to query for courses it works fine.
But If I want a condition like "Instructor.name LIKE %xy%" it won't work because models with a has many relationship are not fetched with a join but individually. Is there any chance I can force Cake to do this with joins or do I have to write a huge custom query that does what I want? I really don't want to do this because it somehow breaks the flexibility of cake. Any suggestions? I can't imagine that this problem doesn't occur to other people. Thanx a lot! Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
