Cake\ElasticSearch\Type::updateAll PHP Méthode

updateAll() public méthode

Sets the $fields to the provided values based on $conditions. This method will *not* trigger beforeSave/afterSave events. If you need those first load a collection of records and update them.
public updateAll ( array $fields, array $conditions ) : void
$fields array A hash of field => new value.
$conditions array An array of conditions, similar to those used with find()
Résultat void
    public function updateAll($fields, $conditions)
    {
        throw new \RuntimeException('Not implemented yet');
    }