Table of Contents

Enum ReturnDocument

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

The document to return when executing a FindAndModify command.

public enum ReturnDocument

Fields

Before = 0

Returns the document before the modification.

After = 1

Returns the document after the modification.