Click or drag to resize
UpdateResult Class
The result of an update operation.
Inheritance Hierarchy

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntax
public abstract class UpdateResult

The UpdateResult type exposes the following members.

Constructors
  NameDescription
Protected methodUpdateResult
Initializes a new instance of the UpdateResult class.
Top
Methods
  NameDescription
Public methodObject.)
Protected methodObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
Properties
  NameDescription
Public propertyIsAcknowledged
Gets a value indicating whether the result is acknowleded.
Public propertyIsModifiedCountAvailable
Gets a value indicating whether the modified count is available.
Public propertyMatchedCount
Gets the matched count. If IsAcknowledged is false, this will throw an exception.
Public propertyModifiedCount
Gets the modified count. If IsAcknowledged is false, this will throw an exception.
Public propertyUpsertedId
Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception.
Top
See Also

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant