Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdateResult<TSchema>

Type parameters

Hierarchy

  • UpdateResult

Index

Properties

acknowledged: boolean

Indicates whether this write result was acknowledged. If not, then all other members of this result will be undefined

matchedCount: number

The number of documents that matched the filter

modifiedCount: number

The number of documents that were modified

upsertedCount: number

The number of documents that were upserted

upsertedId: null | InferIdType<TSchema>

The identifier of the inserted document if an upsert took place

Generated using TypeDoc