Swiftinit_SwiftData_SwiftUI_SwiftData_SwiftUI.Query

init

_SwiftData_SwiftUI.Query.init<A where B == SwiftData.SectionedResults<A, String>, A1: Comparable>(filter: Foundation.Predicate<Pack{A}>?, sort: KeyPath<A, A1?>, order: Foundation.SortOrder, animation: SwiftUI.Animation, sectionBy: KeyPath<A, String>) -> _SwiftData_SwiftUI.Query<A, SwiftData.SectionedResults<A, String>>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

ABA1

req{}

param{}

  1. 0filter:
  2. 1sort:
  3. 2order:
  4. 3animation:
  5. 4sectionBy:

result{}