> For the complete documentation index, see [llms.txt](https://fivesobes.gitbook.io/nexorm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivesobes.gitbook.io/nexorm/methods/deletion-methods/usddelete.md).

# $delete

Delete records from the table based on the provided conditions. The $delete method is used to remove specific entries from the database. If soft delete is enabled, the records are marked as deleted without being permanently removed. Otherwise, the records are permanently deleted.

| Query          | Parameter's                                                                                                                     |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| **`$where`**   | <mark style="color:yellow;">**`<StaticProps>`**</mark>                                                                          |
| **`$options`** | <mark style="color:blue;">⇒</mark> [<mark style="color:green;">**`<FindOptions>`**</mark>](broken://pages/09lM7s4YrcyDgm9Uz8Ri) |

```typescript
await Member.$delete({
    $where: {
        isPremium: true
    },
    $options: {
        $force: true,
        $limit: 10
    }
});
```
