---
title: fetchLimit
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsfetchrequest/fetchlimit
---

# fetchLimit

The fetch limit of the fetch request.

## Declaration

```swift
var fetchLimit: Int { get set }
```

## Discussion

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](coredata/nsfetchrequest/predicate.md)
- [fetchOffset](coredata/nsfetchrequest/fetchoffset.md)
- [fetchBatchSize](coredata/nsfetchrequest/fetchbatchsize.md)
- [affectedStores](coredata/nsfetchrequest/affectedstores.md)
- [NSFetchRequestExpression](coredata/nsfetchrequestexpression.md)
- [NSExpressionDescription](coredata/nsexpressiondescription.md)
- [NSFetchedPropertyDescription](coredata/nsfetchedpropertydescription.md)
