Class UpdateResult
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
The result of an update operation.
public abstract class UpdateResult
Inheritance
UpdateResult
Derived
Inherited Members
Constructors
Initializes a new instance of the UpdateResult class.
Properties
Gets a value indicating whether the result is acknowledged.
Gets a value indicating whether the modified count is available.
Gets the matched count. If IsAcknowledged is false, this will throw an exception.
Gets the modified count. If IsAcknowledged is false, this will throw an exception.
Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception.