Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > updateAll

SequelizeCrudRepository.updateAll() method

Signature:

updateAll(data: DataObject<T>, where?: Where<T>, options?: AnyObject): Promise<Count>;

Parameters

Parameter Type Description
data DataObject<T>
where [Where](/doc/en/lb4/apidocs.filter.where.html)<T> _(Optional)_
options AnyObject _(Optional)_

Returns:

Promise<Count>