Interface GuaranteedUpdateOptions<N>

Represents the set of fields that are guaranteed to be present in the result of an update operation.

Field

matchedCount - The number of documents that matched the filter.

Field

modifiedCount - The number of documents that were actually modified.

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

Type Parameters

  • N extends number

Properties

matchedCount: N

The number of documents that matched the filter.

modifiedCount: N

The number of documents that were actually modified.