ПЛ
Size: a a a
ПЛ
D
D
SS
VP
VP
messages
where users
.id
= messages
.user_id
and message
LIKE %name% limit 1)",P
SS
AP
V
EG
К
EG
К
EG
VP
VP
AP
V
V
->withCount(['reviews' => function($q){из селекта пропадает
$q->approved()
->rating();
}])->select(['id','name'])
reviews_count
если добавлю поле в выборку - пишет колонка reviews_count
не найдена