It's common with a lot of databases. Again, the workaround is to add
an ID column.

On Sat, Dec 6, 2008 at 12:33 PM,  <[EMAIL PROTECTED]> wrote:
> But this case is common in MSSQL, and I need use it. -.-!
>
> 2008/12/5 teknoid <[EMAIL PROTECTED]>
>>
>> There is no support for composite keys in CakePHP.
>> Add an 'id' column to your table.
>>
>> On Dec 5, 3:34 pm, Sabinas <[EMAIL PROTECTED]> wrote:
>> > Hi, I dont speak englis very well but I will try. Mi problem is:
>> >
>> > I have a table but this table have a primary key with two columns, an
>> > example:
>> >
>> > sucursal     folio
>> > 1                 1
>> > 2                 1
>> > 1                 2
>> > 2                 2
>> >
>> > joining two columns we obtain the primary key.... i don know how to
>> > make the relation in the model... somebody help me please.
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to