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](/doc/en/lb4/apidocs.filter.where.html)<T> \| undefined | _(Optional)_ |
| options | AnyObject \| undefined | _(Optional)_ |
Returns:
Promise<Count>