Having(), andHaving() или orHaving() $query->having(['status' => 1]); $query->having(['status' => 1]) ->andHaving(['>', 'age', 30]);
Yii Справочник v0.05 © 2007-2024 Igor Salnikov aka SunDoctor