Hello,
If I did my database relation using SQL, does Yii understand that relations between tables?
Thanks.
Hello,
If I did my database relation using SQL, does Yii understand that relations between tables?
Thanks.
Yes, but you need to define it explicitly in your model
I think this is what you are looking for http://www.yiiframework.com/doc/guide/database.arr
I hope this will help you!