---
title: "init(fetchRequest:)"
framework: coredata
role: symbol
role_heading: Initializer
path: "coredata/nsbatchdeleterequest/init(fetchrequest:)"
---

# init(fetchRequest:)

Creates a request that deletes the results of the specified fetch request.

## Declaration

```swift
init(fetchRequest fetch: NSFetchRequest<any NSFetchRequestResult>)
```

## Parameters

- `fetch`: The fetch request that identifies the managed objects to delete.

## See Also

### Creating a Request

- [init(objectIDs:)](coredata/nsbatchdeleterequest/init(objectids:).md)
