Post

Replies

Boosts

Views

Activity

Query SwiftData model for max value of an attribute
I needed help creating the predicate in order to query my swift data model for the record with the largest integer. Is this possible, and is it any more efficient than just fetching all the data and then doing the filtering?
Replies
3
Boosts
1
Views
2.1k
Activity
Aug ’24