Answer the question
In order to leave comments, you need to log in
Yii join active record?
Friends, please help me join 2 tables in Yii1 activ record: write
$criteria->join = 'LEFT JOIN application ON application.perent_id=user.id';
return application::model()->findAll($criteria);
It gives an error, but the essence of the tokava is that I display applications from the application table and about the application.perent_id field I want to display all users from the user table by id
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question