Class SyncUpdateResult
- java.lang.Object
-
- com.mongodb.stitch.core.services.mongodb.remote.RemoteUpdateResult
-
- com.mongodb.stitch.core.services.mongodb.remote.sync.SyncUpdateResult
-
public class SyncUpdateResult extends RemoteUpdateResult
The result of an update operation.
-
-
Constructor Summary
Constructors Constructor Description SyncUpdateResult(long matchedCount, long modifiedCount, BsonValue upsertedId)
Constructs a result.
-
Method Summary
-
Methods inherited from class com.mongodb.stitch.core.services.mongodb.remote.RemoteUpdateResult
getMatchedCount, getModifiedCount, getUpsertedId
-
-
-
-
Constructor Detail
-
SyncUpdateResult
public SyncUpdateResult(long matchedCount, long modifiedCount, BsonValue upsertedId)
Constructs a result.- Parameters:
matchedCount
- the number of documents matched by the query.modifiedCount
- the number of documents modified.upsertedId
- the _id of the inserted document if the replace resulted in an inserted document, otherwise null.
-
-