RLMFindOptions
Objective-C
@interface RLMFindOptions : NSObject
Swift
@_nonSendable(_assumed) class RLMFindOptions : NSObject
Options to use when executing a find command on a RLMMongoCollection.
-
The maximum number of documents to return. Specifying 0 will return all documents.
Declaration
Objective-C
@property (nonatomic) NSInteger limit;Swift
var limit: Int { get set } -
Limits the fields to return for all matching documents.
Declaration
Objective-C
@property (nonatomic, nullable) id<RLMBSON> projection; -
The order in which to return matching documents.
Declaration
Objective-C
@property (nonatomic) NS_REFINED_FOR_SWIFT NSArray<id<RLMBSON>> *sorting; -
Deprecated
Please use
initWithLimit:projection:sorting:Options to use when executing a
findcommand on aRLMMongoCollection.Declaration
Parameters
limitThe maximum number of documents to return. Specifying 0 will return all documents.
projectionLimits the fields to return for all matching documents.
sortThe order in which to return matching documents.
-
Deprecated
Please use
initWithProjection:sorting:Options to use when executing a
findcommand on aRLMMongoCollection.Declaration
Parameters
projectionLimits the fields to return for all matching documents.
sortThe order in which to return matching documents.
-
Options to use when executing a
findcommand on aRLMMongoCollection.Declaration
Parameters
limitThe maximum number of documents to return. Specifying 0 will return all documents.
projectionLimits the fields to return for all matching documents.
sortingThe order in which to return matching documents.
-
Options to use when executing a
findcommand on aRLMMongoCollection.Declaration
Parameters
projectionLimits the fields to return for all matching documents.
sortingThe order in which to return matching documents.
View on GitHub
Install in Dash