ReturnDocument Enumeration |
The document to return when executing a FindAndModify command.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public enum ReturnDocument
Public Enumeration ReturnDocument
Members
| Member name | Value | Description |
---|
| Before | 0 |
Returns the document before the modification.
|
| After | 1 |
Returns the document after the modification.
|
See Also