RLMUpdateResult
@interface RLMUpdateResult : NSObject
The result of an updateOne
or updateMany
operation a RLMMongoCollection
.
-
The number of documents that matched the filter.
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger matchedCount;
-
The number of documents modified.
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger modifiedCount;
-
The identifier of the inserted document if an upsert took place.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) RLMObjectId *objectId;