Welcome Guest, Not a member yet? Register   Sign In
Quick question: can I use composite primary keys?
#3

[eluser]Unknown[/eluser]
Yes, the table's ID would be made of the values from two or three different columns. This would ensure that no duplicate columns are created and save the space of making an ID column. I know that CakePHP's ORM forbids you from using tables with composite keys, so I just wanted to make sure that CI could interface with database tables that have composite IDs.


Messages In This Thread
Quick question: can I use composite primary keys? - by El Forum - 10-13-2007, 10:26 PM
Quick question: can I use composite primary keys? - by El Forum - 10-14-2007, 05:47 AM
Quick question: can I use composite primary keys? - by El Forum - 10-14-2007, 07:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB