<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "swift: 5.9.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftData",
  "identifier" : "/documentation/SwiftData/FetchDescriptor/fetchOffset",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftData"
    ],
    "preciseIdentifier" : "s:9SwiftData15FetchDescriptorV11fetchOffsetSiSgvp"
  },
  "title" : "fetchOffset"
}
-->

# fetchOffset

The offset of the first matching model to fetch.

```
var fetchOffset: Int?
```

## 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`](/documentation/SwiftData/FetchDescriptor/fetchLimit), you
can create a subrange of an arbitrary result set.

The default value is `0`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)