Class BulkWriteResult
Represents the result of a bulk write operation.
[Serializable]
public abstract class BulkWriteResult
- Inheritance
-
BulkWriteResult
- Derived
- Inherited Members
Constructors
BulkWriteResult(int)
Initializes a new instance of the BulkWriteResult class.
protected BulkWriteResult(int requestCount)
Parameters
requestCount
intThe request count.
Properties
DeletedCount
Gets the number of documents that were deleted.
public abstract long DeletedCount { get; }
Property Value
InsertedCount
Gets the number of documents that were inserted.
public abstract long InsertedCount { get; }
Property Value
IsAcknowledged
Gets a value indicating whether the bulk write operation was acknowledged.
public abstract bool IsAcknowledged { get; }
Property Value
IsModifiedCountAvailable
Gets a value indicating whether the modified count is available.
public abstract bool IsModifiedCountAvailable { get; }
Property Value
Remarks
The available modified count.
MatchedCount
Gets the number of documents that were matched.
public abstract long MatchedCount { get; }
Property Value
ModifiedCount
Gets the number of documents that were actually modified during an update.
public abstract long ModifiedCount { get; }
Property Value
RequestCount
Gets the request count.
public int RequestCount { get; }
Property Value
Upserts
Gets a list with information about each request that resulted in an upsert.
public abstract IReadOnlyList<BulkWriteUpsert> Upserts { get; }