Contents

init(_:transaction:sectionBy:)

Creates a sectioned query from a fetch descriptor, grouped into sections by a String key path. Pass nil to disable sectioning.

Declaration

@MainActor @preconcurrency init(_ descriptor: FetchDescriptor<Element>, transaction: Transaction? = nil, sectionBy sectionKeyPath: KeyPath<Element, String>? = nil) where Result == [Element]

See Also

Creating an unsorted, sectioned query