Absolute noob here. I have a question about cakePhp database
convention. From my understanding of the manual, every table requires
a single attribute primary key.

So, in a table where you might normally have a composite key with two
attributes, you should add an 'artificial identifier' as a single-
attribute primary key for each tuple, and use that rather than the
composite key.

Firstly, have I got that right?

Secondly, do people tend to use AUTO INCREMENT a lot to implement such
functionality in their databases?

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