Enum ReturnDocument
Which version of the document to return when executing a FindAndModify command.
public enum ReturnDocument
Fields
Before = 0
Return the document before the modification.
After = 1
Return the document after the modification.