Answer the question
In order to leave comments, you need to log in
How to make nested relations with condition in yii2?
Maybe I didn't formulate my question correctly, but I need help modifying the request
$request = Request::find()->with('threads.dialogs.company')->asArray()->where(['id' => 1])->one();
return $request;
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