UpdateManyResult

constructor(modifiedCount: Long, upsertedId: Any?)

Parameters

modifiedCount

number of documents that was updated by the operation.

upsertedId

primary key of the new document if created.