Enumeration

NSFetchRequestResultType

Constants that specify the possible result types a fetch request can return.

Declaration

typedef enum NSFetchRequestResultType : NSUInteger {
    ...
} NSFetchRequestResultType;

Overview

These constants are used by resultType.

Topics

Result Types

NSManagedObjectResultType

The request returns managed objects.

NSManagedObjectIDResultType

The request returns managed object IDs.

NSDictionaryResultType

The request returns dictionaries.

NSCountResultType

The request returns the count of the objects that match the request.

See Also

Managing the Fetch Request’s Entity

+ fetchRequestWithEntityName:

Returns a fetch request configured with a given entity name.

- init

Creates a new fetch request.

- initWithEntityName:

Initializes a fetch request configured with a given entity name.

entityName

The name of the entity the request is configured to fetch.

entity

The entity specified for the fetch request.

includesSubentities

A Boolean value that indicates whether the fetch request includes subentities in the results.