BulkWriteResult.upsertedIds

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

struct BulkWriteResult
BsonObjectID[size_t] upsertedIds;

Meta