Contents

init(filter:sort:transaction:sectionBy:)

Creates a sectioned query with sort descriptors, grouped into sections by a String key path.

Declaration

@MainActor @preconcurrency init(filter: Predicate<Element>? = nil, sort descriptors: [SortDescriptor<Element>] = [], transaction: Transaction? = nil, sectionBy sectionKeyPath: KeyPath<Element, String>? = nil) where Result == [Element]

See Also

Creating a sorted, sectioned query