Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > updateById

SequelizeCrudRepository.updateById() method

Signature:

updateById(id: ID, data: DataObject<T>, options?: AnyObject): Promise<void>;

Parameters

Parameter Type Description
id ID  
data DataObject<T>  
options AnyObject (Optional)

Returns:

Promise<void>