Contents

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 : PersistentModel

Mentioned in

Topics

Creating a query

Getting query configuration

Accessing the value

See Also

Model fetch