you can add one field eg (ID auto increment) as the primary key, and the 2
columns become a usual field.

On Sat, Aug 23, 2008 at 6:42 PM, . <[EMAIL PROTECTED]> wrote:

> If cake does not support composite keys, how would I create a custom query
> to do this?
>
> Thanks!
>
> On Sat, Aug 23, 2008 at 3:41 AM, . <[EMAIL PROTECTED]> wrote:
>
>>  Hi
>>
>> I have a table with composite primary keys. The primary key consists of 2
>> columns. How would I do a row insert?
>>
>> Thanks
>>
>
>
> >
>


-- 
irfani

http://irfani.web.id
Y! irfani_s

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to