Dynamically filtering a SwiftData query
The built-in @Query does not currently support dynamic changes, instead we can use @DynamicQuery from the SwiftDataX open-source package to achieve it. The query declaration looks like this: By default that will load all Prospect model objects, sorting them by name. If Read more