Instance Property

fetchLimit

The fetch limit of the fetch request.

Declaration

@property(nonatomic) NSUInteger fetchLimit;

Discussion

The fetch limit specifies the maximum number of objects that a request should return when executed.

If you set a fetch limit, the framework makes a best effort to improve efficiency, but does not guarantee it. For every object store except the SQL store, a fetch request executed with a fetch limit in effect simply performs an unlimited fetch and throws away the unasked for rows.

See Also

Specifying Fetch Constraints

predicate

The predicate of the fetch request.

fetchOffset

The fetch offset of the fetch request.

fetchBatchSize

The batch size of the objects specified in the fetch request.

affectedStores

An array of persistent stores specified for the fetch request.

NSFetchRequestExpression

An expression that evaluates the result of a fetch request on a managed object context.

NSExpressionDescription

A special property description type intended for use with a fetch request.

NSFetchedPropertyDescription

A description object used to define which properties are fetched from Core Data.