Instance Property


An array of sort descriptors that specify the order of the results returned by this query.


var sortDescriptors: [NSSortDescriptor]? { get }


This property contains the value passed to the init(documentType:predicate:limit:sortDescriptors:includeDocumentData:resultsHandler:) method’s sortDescriptors parameter.

See Also

Accessing the Document Query’s Properties

var includeDocumentData: Bool

A Boolean value that indicates whether the sample includes the full document’s data.

var limit: Int

The maximum number of documents the receiver will return upon completion.