Welcome Guest, Not a member yet? Register   Sign In
How to add FOREIGN KEY constraint when creating a table?
#5

[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-11-2012, 05:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB