Class SyncUpdateResult


  • public class SyncUpdateResult
    extends RemoteUpdateResult
    The result of an update operation.
    • 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.