Struct BulkWriteResult
struct BulkWriteResult
;
Fields
Name | Type | Description |
---|---|---|
deletedCount
|
long | Number of documents deleted. |
insertedCount
|
long | Number of documents inserted. |
insertedIds
|
BsonObjectID[ulong] | The identifiers that were automatically generated, if not set. |
matchedCount
|
long | Number of documents matched for update. |
modifiedCount
|
long | Number of documents modified. |
upsertedCount
|
long | Number of documents upserted. |
upsertedIds
|
BsonObjectID[ulong] | Map of the index of the operation to the id of the upserted document. |