> Nope, your can not use composite keys with cakephp, you have to have
> an ID (or a field that you use as the primary, auto-incrementing id) -
> search the group for more background on this.

Correct me if I'm wrong here, but I thought joiner tables for HABTM
relationships were the exception to this rule, and always consisted of
two columns of foreign keys, that had to act as one big primary key.

Ah: http://book.cakephp.org/view/24/model-and-database-conventions

You're right.  Now I'll have to work out where I misread about joiner
tables...

Zoe.
--~--~---------~--~----~------------~-------~--~----~
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