Represents the set of fields that are guaranteed to be present in the result of a generic update* command performed on the Data API.
update*
✏️Note: Depending on whether the update operation is updateOne or updateMany, the N type parameter can be either 1 or number, respectively.
updateOne
updateMany
N
1
number
GenericUpdateResult
The number of records that matched the filter.
The number of records that were actually modified.
Overview
Represents the set of fields that are guaranteed to be present in the result of a generic
update*
command performed on the Data API.See
GenericUpdateResult