Class BulkWriteOperationResult
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents the result of a bulk write operation.
- Inheritance
-
Bulk
Write Operation Result
- Derived
- Inherited Members
Constructors
BulkWriteOperationResult(int, IReadOnlyList<WriteRequest>)
Initializes a new instance of the Bulk
Parameters
requestCount
intThe request count.
processedRequests
IReadOnly <WriteList Request >The processed requests.
Properties
DeletedCount
Gets the number of documents that were deleted.
Property Value
- long
The number of document that were deleted.
InsertedCount
Gets the number of documents that were inserted.
Property Value
- long
The number of document that were inserted.
IsAcknowledged
Gets a value indicating whether the bulk write operation was acknowledged.
Property Value
- bool
true
if the bulk write operation was acknowledged; otherwise,false
.
IsModifiedCountAvailable
Gets a value indicating whether the modified count is available.
Property Value
- bool
true
if the modified count is available; otherwise,false
.
Remarks
The available modified count.
MatchedCount
Gets the number of documents that were matched.
Property Value
- long
The number of document that were matched.
ModifiedCount
Gets the number of documents that were actually modified during an update.
Property Value
- long
The number of document that were actually modified during an update.
ProcessedRequests
Gets the processed requests.
Property Value
- IRead
Only <WriteList Request > The processed requests.
RequestCount
Gets the request count.
Property Value
- int
The request count.
Upserts
Gets a list with information about each request that resulted in an upsert.
Property Value
- IRead
Only <BulkList Write >Operation Upsert The list with information about each request that resulted in an upsert.