Cannot access field from join query in search model (Yii2)

echo < pre >;

var_dump($query->createCommand()->sql);

echo < /pre >;

You may also like...