Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > replaceById

SequelizeCrudRepository.replaceById() method

Signature:

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

Parameters

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

Returns:

Promise<void>