Interface NoUpsertUpdateResult

Overview

Represents the set of fields that are present in the result of a generic update* command performed on the Data API, when:

  • The upsert option is false, or
  • The upsert option is true, but no upsert occurred.

See

  • GenericUpdateResult
  • UpsertedUpdateResult
interface NoUpsertUpdateResult {
    upsertedCount: 0;
    upsertedId?: undefined;
}

Properties

upsertedCount: 0

The number of records that were upserted. This will always be 0, since none occurred.

upsertedId?: undefined

This field is never present.