---
title: isStoredInMemoryOnly
framework: swiftdata
role: symbol
role_heading: Instance Property
path: swiftdata/modelconfiguration/isstoredinmemoryonly
---

# isStoredInMemoryOnly

A Boolean value that determines whether the associated persistent storage is ephemeral and exists only in memory.

## Declaration

```swift
let isStoredInMemoryOnly: Bool
```

## See Also

### Accessing configuration details

- [url](swiftdata/modelconfiguration/url.md)
- [allowsSave](swiftdata/modelconfiguration/allowssave.md)
