Represents the set of fields that are present in the result of an update operation where no upsert occurred.
upsertedCount - The number of documents that were upserted.
upsertedId - This field is never present.
The number of documents that were upserted. This will always be undefined, since none occurred.
Optional
This field is never present.
Represents the set of fields that are present in the result of an update operation where no upsert occurred.
Field
upsertedCount - The number of documents that were upserted.
Field
upsertedId - This field is never present.