How to add FOREIGN KEY constraint when creating a table? |
[eluser]kadishmal[/eluser]
Thank you, InsiteFX! That's a great example! I understand that anything allowed by the DBMS can be executed through an SQL query directly in CI. What I was looking for is the CI implementation of Foreign keys using functions just like add_key(). The idea I was looking if FK was implemented is that I wanted to commit FK implementation together with an updated CUBRID Database Driver. If you happen to know why it hasn't been implemented so far, please let me know. I just keep thinking that maybe there is a reason why CI doesn't have FK support. |
Messages In This Thread |
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 02-10-2012, 12:59 AM
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 02-10-2012, 11:50 PM
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 02-11-2012, 01:32 AM
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 02-11-2012, 03:24 AM
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 02-11-2012, 05:46 PM
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 04-18-2013, 05:32 AM
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 04-20-2013, 12:24 AM
How to add FOREIGN KEY constraint when creating a table? - by El Forum - 04-20-2013, 01:56 AM
|