Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > deleteAll

SequelizeCrudRepository.deleteAll() method

Signature:

deleteAll(where?: Where<T> | undefined, options?: AnyObject | undefined): Promise<Count>;

Parameters

Parameter Type Description
where Where<T> | undefined (Optional)
options AnyObject | undefined (Optional)

Returns:

Promise<Count>