upsertedId

The _id of the upserted document, if any.

If this request modified an existing document, contains null.

Throws