Table of Contents

Enum ReturnDocument

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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.