Here are some interesting discussions: http://groups.google.com/group/cake-php/browse_thread/thread/4a3f44f8217435cc/39065d9e99a1c5c1?lnk=gst&q=multiple+primary+key#39065d9e99a1c5c1 http://groups.google.com/group/cake-php/browse_thread/thread/4a3f44f8217435cc/3c1ff611e628644c?lnk=gst&q=multi+primary+key#3c1ff611e628644c
Bottom line (from what I gather), it was done so to make Cake work easier. I still don't think a lot of people appreciate the fact that Cake does a whole lot! So hey, if I need to add a dump auto incrementing ID, that's what I'm gonna do. On Feb 12, 2008 10:48 AM, avairet <[EMAIL PROTECTED]> wrote: > > Hi, > > I've the same question. > Cake will never support compound or multiple primary keys?? Why? > How manage this issue? > > Thanks by advance > > Avairet > > > > On 12 fév, 09:44, "Matias Lespiau" <[EMAIL PROTECTED]> wrote: > > On Feb 12, 2008 3:56 AM, adammc84 <[EMAIL PROTECTED]> wrote: > > > > > > > > > if the MySql database table my model is 'modeled' from has a primary > > > key that is user_id,posts_id how do i configure that in cake model to > > > use a dual primary key ? > > > > Hi adammc84, > > > > Cake does not support multiple primary keys. > > > > -- > > Matias Lespiauhttp://www.gignus.com/ > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
