Query
A type that fetches models using the specified criteria, and manages those models so they remain in sync with the underlying data.
Declaration
@MainActor @preconcurrency struct Query<Element, Result> where Element : PersistentModelMentioned in
Topics
Creating a query
init(_:animation:)init(filter:sort:animation:)init(filter:sort:order:animation:)init(filter:sort:order:animation:)init(_:transaction:)init(filter:sort:transaction:)init(filter:sort:order:transaction:)init(filter:sort:order:transaction:)