Instance Property

countOnlyRequest

Returns a Boolean value that indicates whether the receiver represents a count-only fetch request.

Declaration

@property(getter=isCountOnlyRequest, readonly) BOOL countOnlyRequest;

Discussion

YES if the receiver represents a count-only fetch request, otherwise NO. If this method returns NO, the managed object context (from the contextExpression) will perform executeFetchRequest:error:: with the requestExpression; if this method returns YES, the managed object context will perform countForFetchRequest:error: with the requestExpression.

See Also

Examining a Fetch Request Expression

requestExpression

The expression for the receiver’s fetch request.

contextExpression

The expression for the receiver’s managed object context.