ChangeStreamFullDocumentBeforeChangeOption Enumeration |
Namespace: MongoDB.Driver
Member name | Value | Description | |
---|---|---|---|
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. |
Copyright © 2010–present MongoDB Inc.