Hi ! I figured an issue and I'm turning around to find the solution..
I have a Member table and each member can have one (only) other member as partner. So I want to make a self-join with the table Member to say that my foreign key itn my member_model 'partner_id' point to another member from the same table. So I'd like to know how I can do that with cake... Right now I have public $hasOne = array('Conjoint' => array('className' =>'Member', 'foreignKey' => 'partner_id' ) ); but it doesn't work Any idea ? thanks you ! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---