Contents

Query(filter:sort:order:transaction:sectionBy:)

Declaration

@attached(accessor) @attached(peer, names: prefixed(`_`)) macro Query<Value, Element>(filter: Predicate<Element>? = nil, sort keyPath: KeyPath<Element, Value?>, order: SortOrder = .forward, transaction: Transaction? = nil, sectionBy sectionKeyPath: KeyPath<Element, String?>) where Value : Comparable, Element : PersistentModel

See Also

Predicate-based queries