BulkWriteResult

Undocumented in source.

Members

Variables

deletedCount
long deletedCount;

Number of documents deleted.

insertedCount
long insertedCount;

Number of documents inserted.

insertedIds
BsonObjectID[size_t] insertedIds;

The identifiers that were automatically generated, if not set.

matchedCount
long matchedCount;

Number of documents matched for update.

modifiedCount
long modifiedCount;

Number of documents modified.

upsertedCount
long upsertedCount;

Number of documents upserted.

upsertedIds
BsonObjectID[size_t] upsertedIds;

Map of the index of the operation to the id of the upserted document.

Meta