> So, how do I tell cake that it should do the full joins even if I do > not request any of the fields of ModelC or ModelD? Is there some nice > forceJoin parameter or something? ;-) > > Thanks
there is a join-key you can use for find()s (and to put into your paginate-array if you want to use pagination).. it works like: 'joins' => array( array( 'table' => 'tableName', 'alias' => 'ModelAlias', 'type' => 'type of join (inner, outer, left, right)', 'conditions' => array(conditions-array for the conditions in JOIN ON(.....)) ), array( // next joined model ) ) --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---