init(_:transaction:sectionBy:)
Creates a sectioned query from a fetch descriptor, grouped by an optional String key path. Pass nil for the key path to disable sectioning.
Declaration
@MainActor @preconcurrency init(_ descriptor: FetchDescriptor<Element>, transaction: Transaction? = nil, sectionBy sectionKeyPath: KeyPath<Element, String?>? = nil) where Result == [Element]