UpdateResult.upsertedIds

The identifier of the inserted document if an upsert took place. Can be none if no upserts took place, can be multiple if using the updateImpl helper.

struct UpdateResult
BsonObjectID[] upsertedIds;

Meta