One Logo Pool Ball
SwiftData · IOS API REFERENCE

FetchDescriptor

struct · iOS 17.0+ · SDK 27.1

struct FetchDescriptor<T> where T : PersistentModel

A type that describes the criteria, sort order, and any additional configuration to use when performing a fetch.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

FetchDescriptor.propertiesToFetch

This declaration needs Swift generic type arguments. (no canonical witness for T)

FetchDescriptor.relationshipKeyPathsForPrefetching

This declaration needs Swift generic type arguments. (no canonical witness for T)

FetchDescriptor.init(predicate:sortBy:)

The containing type needs Swift generic type arguments. (no canonical witness for T)

All SwiftData types →