---
title: fetchOffset
framework: swiftdata
role: symbol
role_heading: Instance Property
path: swiftdata/fetchdescriptor/fetchoffset
---

# fetchOffset

The offset of the first matching model to fetch.

## Declaration

```swift
var fetchOffset: Int?
```

## Discussion

Discussion Use this property to skip a number of models that the fetch would otherwise return. For example, given a fetch that typically returns A, B, C, and D, specifying a fetch offset of 1 will return B, C, D, and a fetch offset of 4 will return an empty set of results. In combination with fetchLimit, you can create a subrange of an arbitrary result set. The default value is 0.

## See Also

### Constraining the fetch

- [predicate](swiftdata/fetchdescriptor/predicate.md)
- [sortBy](swiftdata/fetchdescriptor/sortby.md)
- [fetchLimit](swiftdata/fetchdescriptor/fetchlimit.md)
- [includePendingChanges](swiftdata/fetchdescriptor/includependingchanges.md)
