<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSPersistentStoreRequestType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:@E@NSPersistentStoreRequestType"
  },
  "title" : "NSPersistentStoreRequestType"
}
-->

# NSPersistentStoreRequestType

Constants that specify the types of fetch requests.

```
enum NSPersistentStoreRequestType
```

## Overview

[`requestType`](/documentation/CoreData/NSPersistentStoreRequest/requestType) uses these constants.

## Topics

### Constants

[`NSFetchRequestType`](/documentation/CoreData/NSPersistentStoreRequestType/fetchRequestType)

Specifies that the request returns managed objects.

[`NSSaveRequestType`](/documentation/CoreData/NSPersistentStoreRequestType/saveRequestType)

Specifies that the request saves managed objects.

[`NSBatchInsertRequestType`](/documentation/CoreData/NSPersistentStoreRequestType/batchInsertRequestType)

A request that inserts data into a persistent store using a batch of managed objects or dictionaries.

[`NSBatchUpdateRequestType`](/documentation/CoreData/NSPersistentStoreRequestType/batchUpdateRequestType)

A request that updates data for multiple managed objects in a persistent store.

[`NSBatchDeleteRequestType`](/documentation/CoreData/NSPersistentStoreRequestType/batchDeleteRequestType)

A request that deletes data for multiple managed objects from a persistent store.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)