Instance Property

limit

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

Declaration

@property(readonly) NSUInteger limit;

Discussion

This property contains the value passed to the initWithDocumentType:predicate:limit:sortDescriptors:includeDocumentData:resultsHandler: method’s limit parameter.

See Also

Accessing the Document Query’s Properties

includeDocumentData

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

sortDescriptors

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