---
title: wrappedValue
framework: swiftdata
role: symbol
role_heading: Instance Property
path: swiftdata/query/wrappedvalue
---

# wrappedValue

The most recent fetched result from the Query.

## Declaration

```swift
@MainActor @preconcurrency var wrappedValue: Result { get }
```

## Discussion

Discussion note: When an fetch error occurs, wrappedValue retains results from the last successful fetch. Its value will update once a new fetch succeeds.
