if i didn’t setup forigen key relationships in database is it possible to do join operation in yii1… please don’t give me yii wiki link…
if i didn’t setup forigen key relationships in database is it possible to do join operation in yii1… please don’t give me yii wiki link…
/* Moved from "2.0" to "1.1" */
Yes, it’s possible.
Just manually setup the relation (for CActiveRecord), or, write your own SQL to join the related table (for DAO).
how to manually setup the relation (for CActiveRecord)?
http://www.yiiframework.com/doc/guide/1.1/en/database.arr#declaring-relationship
I’m sorry, but you have to read the guide.
You have to read the guide or the setup.