@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
79 lines (40 loc) • 1.33 kB
Markdown
---
lang: en
title: 'API docs: sequelize.sequelizecrudrepository.deleteall'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/sequelize
permalink: /doc/en/lb4/apidocs.sequelize.sequelizecrudrepository.deleteall.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/sequelize](./sequelize.md) > [SequelizeCrudRepository](./sequelize.sequelizecrudrepository.md) > [deleteAll](./sequelize.sequelizecrudrepository.deleteall.md)
## SequelizeCrudRepository.deleteAll() method
**Signature:**
```typescript
deleteAll(where?: Where<T> | undefined, options?: AnyObject | undefined): Promise<Count>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
where
</td><td markdown="1">
[Where](./filter.where.md)<!-- --><T> \| undefined
</td><td markdown="1">
_(Optional)_
</td></tr>
<tr><td markdown="1">
options
</td><td markdown="1">
AnyObject \| undefined
</td><td markdown="1">
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
Promise<Count>