Optional
disambiguated6.1.0
Optional
removedAn array of field names that were removed from the document.
Optional
truncatedAn array of documents which record array truncations performed with pipeline-based updates using one or more of the following stages:
The name of the truncated field.
The number of elements in the truncated array.
Optional
updatedA document containing key:value pairs of names of the fields that were changed, and the new value for those fields.
Generated using TypeDoc
A document containing additional information about any ambiguous update paths from the update event. The document maps the full ambiguous update path to an array containing the actual resolved components of the path. For example, given a document shaped like
{ a: { '0': 0 } }
, and an update of{ $inc: 'a.0' }
, disambiguated paths would look like the following:This field is only present when there are ambiguous paths that are updated as a part of the update event and
showExpandedEvents
is enabled for the change stream.