Click or drag to resize

ChangeStreamFullDocumentOption Enumeration

Change stream FullDocument option.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public enum ChangeStreamFullDocumentOption
Members
  Member nameValueDescription
Default0 Do not send this option to the server. Server's default is to not return the full document.
UpdateLookup1 The change stream for partial updates will include both a delta describing the changes to the document as well as a copy of the entire document that was changed from some time after the change occurred.
WhenAvailable2 Returns the post-image of the modified document for replace and update change events if the post-image for this event is available.
Required3 Same behavior as 'whenAvailable' except that an error is raised if the post-image is not available.
See Also