Yii2 - update query

    
    $connection->createCommand()
    ->update('tbl_user', ['status' => 1], 'age > 30')
    ->execute();
    

Comments