upsertedId
The _id of the upserted document, if any.
If this request modified an existing document, contains null.
Throws
If the update was not acknowledged.
The _id of the upserted document, if any.
If this request modified an existing document, contains null.
If the update was not acknowledged.