Table of Contents

Enum ChangeStreamFullDocumentBeforeChangeOption

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

Change stream FullDocumentBeforeChange option.

public enum ChangeStreamFullDocumentBeforeChangeOption

Fields

Default = 0

Do not send this option to the server. Server's default is to not return the full document before change.

Off = 1

Do not return the full document before change.

WhenAvailable = 2

Returns the pre-image of the modified document for replace, update and delete change events if the pre-image for this event is available.

Required = 3

Same behavior as 'whenAvailable' except that an error is raised if the pre-image is not available.