public static updateAll ( array $attributes, string | array $condition = '' ) : integer | ||
$attributes | array | attribute values (name-value pairs) to be saved into the table |
$condition | string | array | the conditions that will be put in the WHERE part of the UPDATE SQL. Please refer to [[Query::where()]] on how to specify this parameter. |
return | integer | the number of rows updated |
public static function updateAll($attributes, $condition = '')
{
throw new NotSupportedException(__METHOD__ . ' is not supported.');
}
/** * @inheritdoc * @todo */ public static function updateAll($attributes, $condition = '') { parent::updateAll($attributes, $condition); }