How to create criteria->with()
witout "on" or without "default relation"
in query?
select *
from status kk
inner join user tt
left join userstatus ii on kk.status_id = ii.status_id
and ii.user_id = tt.user_id
I want use it for CGridView
search in YII for dataProvider
.
Or is there any other way that could diapakai to overcome this?