Class ReplaceOneResult
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
The result of an update operation.
public abstract class ReplaceOneResult
Inheritance
ReplaceOneResult
Derived
Inherited Members
Constructors
Initializes a new instance of the ReplaceOneResult 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.