Contents

resultType

The result type of the fetch request.

Declaration

var resultType: NSFetchRequestResultType { get set }

Discussion

The default value is managedObjectResultType.

If you set the value to managedObjectIDResultType, and do not include property values in the request, sort orderings are demoted to “best efforts” hints.

includesPendingChanges discusses with whether pending changes are taken into account when the resultType is set to managedObjectResultType.

includesPropertyValues discusses whether property values are included or not by default when the resultType is set to managedObjectResultType.

See Also

Managing How Results Are Returned