upsertedId

abstract val upsertedId: BsonValue?(source)

The _id of the upserted document, if any.

If this request modified an existing document, contains null.

Throws