Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdateDescription<TSchema>

Type parameters

Hierarchy

  • UpdateDescription

Index

Properties

removedFields?: string[]

An array of field names that were removed from the document.

truncatedArrays?: { field: string; newSize: number }[]

An array of documents which record array truncations performed with pipeline-based updates using one or more of the following stages:

  • $addFields
  • $set
  • $replaceRoot
  • $replaceWith
updatedFields?: Partial<TSchema>

A document containing key:value pairs of names of the fields that were changed, and the new value for those fields.

Generated using TypeDoc