> For the complete documentation index, see [llms.txt](https://cross-packages.gitbook.io/cross-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cross-packages.gitbook.io/cross-api/services/delete-many.md).

# DeleteMany

Classic delete, receives as parameter the type array of entity to delete it or an array of { key: value } and execute multiple queries at once.

```typescript
await this.examplesRepository.deleteMany(
  [
    { id: 1 },
    { id: 2 },
    { id: 3 },
    { id: 4 },
    { id: 5 },
  ],
  trx,
);

// delete example
```

***
