Looking for a suggestion on how to cake-formulate the following query with FindAll:
Associations: ========== Group hasMany Account; Account belongsTo Group Account hasMany Order; Order belongsTo Account Order hasMany OrderProduct; OrderProduct belongsTo Order Query: ===== I want to find all OrderProducts with (OrderProduct.fromDate > '2007-10-01') AND Group.id = '3' How can I use FindAll () to do that? (notice the where conditions on Group and OrderProduct Or, do I need to use a custom query()? Thanks very much. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---