Interface GuaranteedUpdateResult<N>

Represents the set of fields that are guaranteed to be present in the result of some generic update command using the Data API

Field

matchedCount - The number of records that matched the filter.

Field

modifiedCount - The number of records that were actually modified.

interface GuaranteedUpdateResult<N> {
    matchedCount: N;
    modifiedCount: N;
}

Type Parameters

  • N extends number

Properties

matchedCount: N

The number of records that matched the filter.

modifiedCount: N

The number of records that were actually modified.